From a3d6498c21db49b4129e876016509ade2c7263df Mon Sep 17 00:00:00 2001 From: Niko Date: Thu, 1 Jun 2023 15:46:41 +0200 Subject: [PATCH] clean up --- ActiveBOWeb/src/components/RosBar.vue | 38 +++++++++++++-------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/ActiveBOWeb/src/components/RosBar.vue b/ActiveBOWeb/src/components/RosBar.vue index a2e945d..3076548 100644 --- a/ActiveBOWeb/src/components/RosBar.vue +++ b/ActiveBOWeb/src/components/RosBar.vue @@ -172,11 +172,11 @@ watch( } ); -const rl_service = new ROS.Service({ - ros: ros, - name: "/rl_srv", - serviceType: "active_bo_msgs/srv/RLRollOut", -}); +// const rl_service = new ROS.Service({ +// ros: ros, +// name: "/rl_srv", +// serviceType: "active_bo_msgs/srv/RLRollOut", +// }); // const bo_service = new ROS.Service({ // ros: ros, @@ -226,20 +226,20 @@ watch( } ); -watch( - () => active_bo_pending.value, - () => { - if (active_bo_pending.value) { - return; - } - const rl_request = new ROS.ServiceRequest({ - env: cstore.env, - policy: pstore.policy, - }); - - rl_service.callService(rl_request, () => {}); - } -); +// watch( +// () => active_bo_pending.value, +// () => { +// if (active_bo_pending.value) { +// return; +// } +// const rl_request = new ROS.ServiceRequest({ +// env: cstore.env, +// policy: pstore.policy, +// }); +// +// rl_service.callService(rl_request, () => {}); +// } +// );