jsk-ros-pkg / jsk_robot

jsk-ros-pkg/jsk_robot
https://github.com/jsk-ros-pkg/jsk_robot
73 stars 97 forks source link

[jsk_pr2_startup] Add check_hokuyo_scan_node.py #1922

Open Kanazawanaoaki opened 3 weeks ago

Kanazawanaoaki commented 3 weeks ago

Related to https://github.com/jsk-ros-pkg/jsk_robot/issues/1920 , I wrote a program to kill base_hokuyo_node, reset base_hokuyo, and restart base_hokuyo_node when /base_scan topic is not subscribed for a certain time (10 seconds).

This program was written with reference to check_openni_node.py, and hokuyo's reset script is downloaded from the file attached to the following ros wiki page. https://wiki.ros.org/hokuyo_node/Troubleshooting/#A.5B0-.3E75.5D_Code

nakane11 commented 2 weeks ago

No problem. We have confirmed that base_scan is visible.