Skip to content
Snippets Groups Projects
Commit 33fad8cc authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Added a launch file for each of the robot types.

parent aeab5c93
No related branches found
No related tags found
1 merge request!8Kinetic migration
<launch>
<arg name="config_file" default="darwin_config.xml"/>
<arg name="robot" default="darwin"/>
<!-- Load joint controller configurations from YAML file to parameter server -->
<rosparam file="$(find darwin_control)/config/$(arg robot).yaml" command="load"/>
<param name="motion_file" value="$(find darwin_controller_cpp)/config/motion_1024.bin"/>
<param name="config_file" value="$(find darwin_controller_cpp)/src/xml/$(arg config_file)"/>
<!-- load the controllers -->
<node name="controller_spawner"
pkg="controller_manager"
type="spawner"
respawn="false"
output="screen"
ns="/darwin"
args="darwin_controller_cpp joint_state_controller">
</node>
</launch>
<launch>
<arg name="config_file" default="darwin_config.xml"/>
<arg name="robot" default="darwin"/>
<!-- Load joint controller configurations from YAML file to parameter server -->
<rosparam file="$(find darwin_control)/config/$(arg robot).yaml" command="load"/>
<param name="motion_file" value="$(find darwin_controller)/config/motion_1024.bin"/>
<param name="config_file" value="$(find darwin_controller)/src/xml/$(arg config_file)"/>
<!-- load the controllers -->
<node name="controller_spawner"
pkg="controller_manager"
type="spawner"
respawn="false"
output="screen"
ns="/darwin"
args="darwin_controller joint_state_controller">
</node>
</launch>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment