File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 55
66 <param name =" robot_description" command =" $(find xacro)/xacro $(find franka_description)/robots/panda_arm.urdf.xacro hand:=$(arg load_gripper)" />
77
8+ <!-- Remap both, arm and gripper joint states to default ROS topic joint_states -->
9+ <remap from =" franka_state_controller/joint_states" to =" joint_states" />
10+ <remap from =" franka_gripper/joint_states" to =" joint_states" />
11+
812 <include file =" $(find franka_gripper)/launch/franka_gripper.launch" if =" $(arg load_gripper)" >
913 <arg name =" robot_ip" value =" $(arg robot_ip)" />
1014 </include >
1721 <rosparam command =" load" file =" $(find franka_control)/config/default_controllers.yaml" />
1822 <node name =" state_controller_spawner" pkg =" controller_manager" type =" spawner" respawn =" false" output =" screen" args =" franka_state_controller" />
1923 <node name =" robot_state_publisher" pkg =" robot_state_publisher" type =" robot_state_publisher" output =" screen" />
20- <node name =" joint_state_publisher" type =" joint_state_publisher" pkg =" joint_state_publisher" output =" screen" >
21- <rosparam if =" $(arg load_gripper)" param =" source_list" >[franka_state_controller/joint_states, franka_gripper/joint_states] </rosparam >
22- <rosparam unless =" $(arg load_gripper)" param =" source_list" >[franka_state_controller/joint_states] </rosparam >
23- <param name =" rate" value =" 30" />
24- </node >
2524</launch >
Original file line number Diff line number Diff line change 3434 <arg name =" paused" value =" true" />
3535 <arg name =" gui" value =" $(eval not arg('headless'))" />
3636 <arg name =" use_sim_time" value =" true" />
37+ <!-- Remap both, arm and gripper joint states to default ROS topic joint_states -->
38+ <remap from =" franka_state_controller/joint_states" to =" joint_states" />
39+ <remap from =" franka_gripper/joint_states" to =" joint_states" />
3740 </include >
3841
3942 <group ns =" $(arg arm_id)" >
8891 <remap to =" cartesian_impedance_example_controller/equilibrium_pose" from =" equilibrium_pose" />
8992
9093 <node name =" robot_state_publisher" pkg =" robot_state_publisher" type =" robot_state_publisher" />
91- <node name =" joint_state_publisher" type =" joint_state_publisher" pkg =" joint_state_publisher" >
92- <rosparam param =" source_list" >[franka_state_controller/joint_states, franka_gripper/joint_states] </rosparam >
93- <param name =" rate" value =" 30" />
94- </node >
9594
9695 <!-- Start only if cartesian_impedance_example_controller -->
9796 <node name =" interactive_marker"
You can’t perform that action at this time.
0 commit comments