fixing the parameters is working

This commit is contained in:
Niko Feith 2023-06-20 14:43:33 +02:00
parent 326b8f0d74
commit 446666f387
3 changed files with 6 additions and 4 deletions

View File

@ -84,7 +84,7 @@
<v-checkbox <v-checkbox
class="py-0 my-0" class="py-0 my-0"
v-model="cstore.overwrite" v-model="cstore.overwrite"
label="overwrite param" label="overwrite"
/> />
<v-checkbox <v-checkbox
class="py-0 my-0" class="py-0 my-0"

View File

@ -135,7 +135,7 @@ rl_feedback_subscriber.subscribe((msg) => {
const active_rl_eval_sub = new ROS.Topic({ const active_rl_eval_sub = new ROS.Topic({
ros: ros_eval, ros: ros_eval,
name: "/active_rl_eval_request", name: "/active_rl_eval_request",
messageType: "active_bo_msgs/msg/ActiveRL", messageType: "active_bo_msgs/msg/ActiveRLEvalRequest",
}); });
const pendingRequest = ref(false); const pendingRequest = ref(false);
@ -148,7 +148,7 @@ active_rl_eval_sub.subscribe((msg) => {
const active_rl_eval_pub = new ROS.Topic({ const active_rl_eval_pub = new ROS.Topic({
ros: ros_eval, ros: ros_eval,
name: "/active_rl_eval_response", name: "/active_rl_eval_response",
messageType: "active_bo_msgs/msg/ActiveRL", messageType: "active_bo_msgs/msg/ActiveRLEvalResponse",
}); });
watch( watch(
@ -161,6 +161,7 @@ watch(
const active_eval_response = new ROS.Message({ const active_eval_response = new ROS.Message({
policy: pstore.policy, policy: pstore.policy,
weights: pstore.weights, weights: pstore.weights,
overwrite_weight: pstore.weights_fixed,
}); });
console.log(active_eval_response); console.log(active_eval_response);

View File

@ -14,7 +14,8 @@
:interval="0.01" :interval="0.01"
:disabled="store.weights_fixed[idx]" :disabled="store.weights_fixed[idx]"
/> />
<v-checkbox class="ma-0 checkbox-bottom" <v-checkbox
class="ma-0 checkbox-bottom"
v-model="store.weights_fixed[idx]" v-model="store.weights_fixed[idx]"
/> />
</div> </div>