This commit is contained in:
Niko Feith 2023-06-01 15:46:41 +02:00
parent 84bb5d013f
commit a3d6498c21

View File

@ -172,11 +172,11 @@ watch(
} }
); );
const rl_service = new ROS.Service({ // const rl_service = new ROS.Service({
ros: ros, // ros: ros,
name: "/rl_srv", // name: "/rl_srv",
serviceType: "active_bo_msgs/srv/RLRollOut", // serviceType: "active_bo_msgs/srv/RLRollOut",
}); // });
// const bo_service = new ROS.Service({ // const bo_service = new ROS.Service({
// ros: ros, // ros: ros,
@ -226,20 +226,20 @@ watch(
} }
); );
watch( // watch(
() => active_bo_pending.value, // () => active_bo_pending.value,
() => { // () => {
if (active_bo_pending.value) { // if (active_bo_pending.value) {
return; // return;
} // }
const rl_request = new ROS.ServiceRequest({ // const rl_request = new ROS.ServiceRequest({
env: cstore.env, // env: cstore.env,
policy: pstore.policy, // policy: pstore.policy,
}); // });
//
rl_service.callService(rl_request, () => {}); // rl_service.callService(rl_request, () => {});
} // }
); // );
</script> </script>
<style scoped></style> <style scoped></style>