Works for one user input
This commit is contained in:
parent
b7b1186b58
commit
98226688c2
@ -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;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user