diff --git a/ActiveBOWeb/src/components/ControlPanel.vue b/ActiveBOWeb/src/components/ControlPanel.vue index db96515..db68e28 100644 --- a/ActiveBOWeb/src/components/ControlPanel.vue +++ b/ActiveBOWeb/src/components/ControlPanel.vue @@ -84,7 +84,7 @@ { const active_rl_eval_sub = new ROS.Topic({ ros: ros_eval, name: "/active_rl_eval_request", - messageType: "active_bo_msgs/msg/ActiveRL", + messageType: "active_bo_msgs/msg/ActiveRLEvalRequest", }); const pendingRequest = ref(false); @@ -148,7 +148,7 @@ active_rl_eval_sub.subscribe((msg) => { const active_rl_eval_pub = new ROS.Topic({ ros: ros_eval, name: "/active_rl_eval_response", - messageType: "active_bo_msgs/msg/ActiveRL", + messageType: "active_bo_msgs/msg/ActiveRLEvalResponse", }); watch( @@ -161,6 +161,7 @@ watch( const active_eval_response = new ROS.Message({ policy: pstore.policy, weights: pstore.weights, + overwrite_weight: pstore.weights_fixed, }); console.log(active_eval_response); diff --git a/ActiveBOWeb/src/components/WeightTuner.vue b/ActiveBOWeb/src/components/WeightTuner.vue index fa5345b..d2d8b3e 100644 --- a/ActiveBOWeb/src/components/WeightTuner.vue +++ b/ActiveBOWeb/src/components/WeightTuner.vue @@ -14,7 +14,8 @@ :interval="0.01" :disabled="store.weights_fixed[idx]" /> -