Works for one user input

This commit is contained in:
Niko Feith 2023-03-27 17:00:46 +02:00
parent b7b1186b58
commit 98226688c2

View File

@ -145,11 +145,11 @@ const active_rl_eval_pub = new ROSLIB.Topic({
messageType: "active_bo_msgs/msg/ActiveRLEval", messageType: "active_bo_msgs/msg/ActiveRLEval",
}); });
const active_eval_response_first = new ROSLIB.Message({ // const active_eval_response_first = new ROSLIB.Message({
policy: pstore.policy, // policy: pstore.policy,
weights: pstore.weights, // weights: pstore.weights,
}); // });
console.log(active_eval_response_first); // console.log(active_eval_response_first);
// active_rl_eval_pub.publish(active_eval_response_first); // active_rl_eval_pub.publish(active_eval_response_first);
// function sleep(ms) { // function sleep(ms) {
@ -185,7 +185,7 @@ watch(
active_rl_eval_pub.publish(active_eval_response); active_rl_eval_pub.publish(active_eval_response);
// await sleep(1000); // await sleep(1000);
console.log("New Policy/ Weights published"); console.log("New Policy/ Weights published");
// pendingRequest.value = false; pendingRequest.value = false;
} }
} }
); );