query on joint_state_publisher
how to add values for joints for visualizing the motion of a robothead in rviz without using gui.this is the launch file
<launch> <arg name="model"/>
<arg name="gui" default="False"/>
<param name="robot_description" command="$(find xacro)/xacro.py $(arg model)"/>
<param name="use_gui" value="$(arg gui)"/>
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" ></node>
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher"/> <node name="rviz" pkg="rviz" type="rviz" args="-d $(find urdf_tutorial)/urdf.vcg"/>
</launch>
thanks.