i used the rosbridge to connect ROS with Unity, which i control the RPLidar, when i call the function RosbridgeWebSocketConnection.CallService with the string
CallService("/stop_motor", null)
as i understood, this should send the message {"op": "call_service", "service": "/stop_motor"} to ROS, and it supposed to call the service in ROS so that the PRLidar would stop, but it dose not work.
Have i done something wrong?
Thanks in advance
Hallo,
i used the rosbridge to connect ROS with Unity, which i control the RPLidar, when i call the function RosbridgeWebSocketConnection.CallService with the string CallService("/stop_motor", null) as i understood, this should send the message {"op": "call_service", "service": "/stop_motor"} to ROS, and it supposed to call the service in ROS so that the PRLidar would stop, but it dose not work. Have i done something wrong? Thanks in advance