From 98226688c2de7c22ac5e8f6184990075d618d262 Mon Sep 17 00:00:00 2001 From: Niko Date: Mon, 27 Mar 2023 17:00:46 +0200 Subject: [PATCH] Works for one user input --- ActiveBOWeb/src/components/RosBar.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ActiveBOWeb/src/components/RosBar.vue b/ActiveBOWeb/src/components/RosBar.vue index 56bd6a5..8708f72 100644 --- a/ActiveBOWeb/src/components/RosBar.vue +++ b/ActiveBOWeb/src/components/RosBar.vue @@ -145,11 +145,11 @@ const active_rl_eval_pub = new ROSLIB.Topic({ messageType: "active_bo_msgs/msg/ActiveRLEval", }); -const active_eval_response_first = new ROSLIB.Message({ - policy: pstore.policy, - weights: pstore.weights, -}); -console.log(active_eval_response_first); +// const active_eval_response_first = new ROSLIB.Message({ +// policy: pstore.policy, +// weights: pstore.weights, +// }); +// console.log(active_eval_response_first); // active_rl_eval_pub.publish(active_eval_response_first); // function sleep(ms) { @@ -185,7 +185,7 @@ watch( active_rl_eval_pub.publish(active_eval_response); // await sleep(1000); console.log("New Policy/ Weights published"); - // pendingRequest.value = false; + pendingRequest.value = false; } } );