Skip to content

Commit

Permalink
franka_control.launch: Start ROS controllers in correct namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Apr 7, 2022
1 parent a0f0190 commit 44f7f75
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions launch/franka_control.launch
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
<launch>
<!-- Launch real-robot control -->
<include file="$(find franka_control)/launch/franka_control.launch" pass_all_args="true" />

<!-- By default use joint position controllers -->
<arg name="transmission" default="position" />
<!-- Start ROS controllers -->
<include file="$(dirname)/ros_controllers.launch" pass_all_args="true" />

<!-- as well as MoveIt demo -->
<include file="$(dirname)/demo.launch" pass_all_args="true">
Expand Down
2 changes: 1 addition & 1 deletion launch/ros_controllers.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<rosparam file="$(find panda_moveit_config)/config/ros_controllers.yaml" command="load" subst_value="true"/>

<!-- Load and start the controllers -->
<node ns="/$(arg arm_id)" name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen"
<node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen"
args="$(arg transmission)_joint_trajectory_controller" />
</launch>
2 changes: 0 additions & 2 deletions launch/simple_moveit_controller_manager.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

<!-- Load controller list to the parameter server -->
<rosparam subst_value="true" file="$(find panda_moveit_config)/config/simple_moveit_controllers.yaml" />
<!-- Start ROS controllers -->
<include file="$(dirname)/ros_controllers.launch" pass_all_args="true" />
</launch>

0 comments on commit 44f7f75

Please sign in to comment.