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