PR2 / rqt_pr2_dashboard

2 stars 11 forks source link

add --motor-namespace argument in rqt_pr2_dashboard #23

Closed knorth55 closed 3 years ago

knorth55 commented 4 years ago

I add --motor-namespace arguments. With this PR, we can customize motor halt and cancel namespace as follow:

rosrun rqt_pr2_dashboard rqt_pr2_dashboard --motor-namespace pr2_reset_motors

related: https://github.com/jsk-ros-pkg/jsk_robot/pull/1258

this PR follow arguments passing way in rqt_plot. https://github.com/ros-visualization/rqt_plot/blob/master/scripts/rqt_plot#L10 https://github.com/ros-visualization/rqt_plot/blob/master/src/rqt_plot/plot.py#L107-L114 https://github.com/ros-visualization/rqt_plot/blob/master/src/rqt_plot/plot.py#L54 https://github.com/ros-visualization/rqt_plot/blob/master/src/rqt_plot/plot.py#L70-L105