backup pre vertical line plugin
This commit is contained in:
parent
6d09535113
commit
8b21c795fb
@ -67,7 +67,8 @@
|
|||||||
thumb-label
|
thumb-label
|
||||||
:disabled="epsilonRef"
|
:disabled="epsilonRef"
|
||||||
/>
|
/>
|
||||||
<v-row class="d-flex justify-space-evenly mb-9">
|
<v-checkbox v-model="cstore.fixed_seed" label="fixed seed" />
|
||||||
|
<v-row class="d-flex justify-space-evenly mb-1">
|
||||||
<v-btn color="primary" @click="cstore.setSendWeights()"
|
<v-btn color="primary" @click="cstore.setSendWeights()"
|
||||||
>Send Weights</v-btn
|
>Send Weights</v-btn
|
||||||
>
|
>
|
||||||
|
@ -265,6 +265,7 @@ watch(
|
|||||||
} else if (usr_mode === "active BO" && !active_bo_pending.value) {
|
} else if (usr_mode === "active BO" && !active_bo_pending.value) {
|
||||||
const request_msg = new ROS.Message({
|
const request_msg = new ROS.Message({
|
||||||
env: cstore.env,
|
env: cstore.env,
|
||||||
|
fixed_seed: cstore.fixed_seed,
|
||||||
nr_weights: pstore.nr_weights,
|
nr_weights: pstore.nr_weights,
|
||||||
max_steps: pstore.max_steps,
|
max_steps: pstore.max_steps,
|
||||||
nr_episodes: cstore.nr_episodes,
|
nr_episodes: cstore.nr_episodes,
|
||||||
|
@ -18,6 +18,7 @@ export const useCStore = defineStore("Control Store", {
|
|||||||
metric_parameter: 0,
|
metric_parameter: 0,
|
||||||
sendWeights: false,
|
sendWeights: false,
|
||||||
runner: false,
|
runner: false,
|
||||||
|
fixed_seed: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
getters: {
|
getters: {
|
||||||
|
@ -8,6 +8,7 @@ export const useRLStore = defineStore("RL Store", {
|
|||||||
blue: Array(153600).fill(120),
|
blue: Array(153600).fill(120),
|
||||||
width: 480,
|
width: 480,
|
||||||
height: 320,
|
height: 320,
|
||||||
|
current_time: 0,
|
||||||
trigger: false,
|
trigger: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -17,6 +18,7 @@ export const useRLStore = defineStore("RL Store", {
|
|||||||
getBlue: (state) => state.blue,
|
getBlue: (state) => state.blue,
|
||||||
getHeight: (state) => state.height,
|
getHeight: (state) => state.height,
|
||||||
getWidth: (state) => state.width,
|
getWidth: (state) => state.width,
|
||||||
|
getCurrentTime: (state) => state.current_time,
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
setRgbArrays(red, green, blue) {
|
setRgbArrays(red, green, blue) {
|
||||||
@ -29,5 +31,8 @@ export const useRLStore = defineStore("RL Store", {
|
|||||||
this.height = height;
|
this.height = height;
|
||||||
this.width = width;
|
this.width = width;
|
||||||
},
|
},
|
||||||
|
setCurrentTime(value) {
|
||||||
|
this.current_time = value;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user