bo 2d tested
This commit is contained in:
parent
9a70229171
commit
7974dc7a6d
@ -87,14 +87,14 @@ function buildChart() {
|
|||||||
grid: {
|
grid: {
|
||||||
display: false,
|
display: false,
|
||||||
},
|
},
|
||||||
min: -1,
|
min: -1.1,
|
||||||
max: 1,
|
max: 1.1,
|
||||||
},
|
},
|
||||||
y: {
|
y: {
|
||||||
type: "linear",
|
type: "linear",
|
||||||
display: true,
|
display: true,
|
||||||
min: -1,
|
min: -1.1,
|
||||||
max: 1,
|
max: 1.1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -156,7 +156,7 @@ active_rl_eval_sub.subscribe((msg) => {
|
|||||||
pstore.setPolicy(pol_x);
|
pstore.setPolicy(pol_x);
|
||||||
pstore.setPolicy_y(pol_y);
|
pstore.setPolicy_y(pol_y);
|
||||||
pstore.setWeights(weights_x);
|
pstore.setWeights(weights_x);
|
||||||
pstore.setWeights(weights_y);
|
pstore.setWeights_y(weights_y);
|
||||||
pendingRequest.value = true;
|
pendingRequest.value = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -179,7 +179,7 @@ watch(
|
|||||||
const active_eval_response = new ROS.Message({
|
const active_eval_response = new ROS.Message({
|
||||||
policy: policy,
|
policy: policy,
|
||||||
weights: weights,
|
weights: weights,
|
||||||
overwrite_weight: weights_fixed,
|
weight_preference: weights_fixed,
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(active_eval_response);
|
console.log(active_eval_response);
|
||||||
@ -211,7 +211,7 @@ active_bo_response.subscribe((msg) => {
|
|||||||
pstore.setPolicy(pol_x);
|
pstore.setPolicy(pol_x);
|
||||||
pstore.setPolicy_y(pol_y);
|
pstore.setPolicy_y(pol_y);
|
||||||
pstore.setWeights(weights_x);
|
pstore.setWeights(weights_x);
|
||||||
pstore.setWeights(weights_y);
|
pstore.setWeights_y(weights_y);
|
||||||
rstore.setMean(msg.reward_mean);
|
rstore.setMean(msg.reward_mean);
|
||||||
rstore.setStd(msg.reward_std);
|
rstore.setStd(msg.reward_std);
|
||||||
active_bo_pending.value = false;
|
active_bo_pending.value = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user