Regards,
Dr. Philippe Capdepuy
Research EngineerTel : +33 5 56 39 37 05
Découvrez Baxter, votre nouveau compagnon
pour la recherche et l’éducation
Baxter Research Robot<!-- state publisher --><node ns="jaco" name="jaco_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher"></node><node name="joint_state_merger" pkg="joint_state_publisher" type="joint_state_publisher"><rosparam command="load" file="$(find jaco)/source_list.yaml"/></node>Where my source_list.yaml has:source_list: ['jaco/joint_states', 'ptu/joint_states']This means that I can retain the namespaces and also ensure that move_group has the correct values.I hope this helps!Chittaranjan
<!-- state publisher --><node ns="jaco" name="jaco_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher"></node>This above line is the state publisher from the robot. In your case this should already be there. I leave it here to make things clear. This was generating the jaco/joint_states topic. The one below is what you need. Add these lines to your baxter_bringup.launch file (of what ever launch file you are running to run the baxter-ros drivers):
<node name="joint_state_merger" pkg="joint_state_publisher" type="joint_state_publisher">
<rosparam command="load" file="$(find baxter_bringup)/source_list.yaml"/></node>Then create a file source_list.yaml in the baxter_bringup directoryAgain, edit the list below to contain the different joint states topic that you have.source_list: ['arm1/joint_states', 'ptu/joint_states']