ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I will place this here for future reference. The syntax used in the original question is incorrect. I did not check the codebase in 2016/2018 but in 2021, the syntax for specifying topics is as follows:
rosrun rqt_plot rqt_plot topics:=/stick2/joint_states/effort[1]
This can be seen by looking at the code of the rqt_plot/plot.py#L135-L138 plugin. As a result the correct syntax for doing this form a launch file:
<node pkg="rqt_plot" type="rqt_plot" output="screen" name="rqt_plot" args="topics:='/joint_states/effort[1]'"/>
2 | No.2 Revision |
I will place this here for future reference. The syntax used in the original question is incorrect. I did not check the codebase in 2016/2018 but in 2021, the syntax for specifying topics is as follows:
rosrun rqt_plot rqt_plot topics:=/stick2/joint_states/effort[1]
/<ROBOT_NS>/joint_states/effort[0] /<ROBOT2_NS>/joint_states/effort[0]
This can be seen by looking at the code of the rqt_plot/plot.py#L135-L138 plugin. As a result result, the correct syntax for doing this form a launch file:
<node pkg="rqt_plot" type="rqt_plot" output="screen" name="rqt_plot" args="topics:='/joint_states/effort[1]'"/>
args="/<ROBOT_NS>/joint_states/effort[0] /<ROBOT2_NS>/joint_states/effort[0]"/>
3 | No.3 Revision |
I will place this here for future reference. The syntax used in the original question is incorrect. I did not check the codebase in 2016/2018 but in 2021, the syntax for specifying topics is as follows:
rosrun rqt_plot rqt_plot /<ROBOT_NS>/joint_states/effort[0] /<ROBOT2_NS>/joint_states/effort[0]
This can be seen by looking at the code of the rqt_plot/plot.py#L135-L138rqt_plot/plot.py##L114 plugin. As a result, the correct syntax for doing this form a launch file:
<node pkg="rqt_plot" type="rqt_plot" output="screen" name="rqt_plot" args="/<ROBOT_NS>/joint_states/effort[0] /<ROBOT2_NS>/joint_states/effort[0]"/>