Skip to content

Commit

Permalink
Merge pull request #24 from danioto/indigo-devel
Browse files Browse the repository at this point in the history
Config file as roslanch arg.
  • Loading branch information
KristofRobot committed Nov 14, 2015
2 parents 7c38947 + 1dfe7ae commit e8abb98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion launch/razor-pub-and-display.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<launch>
<arg name="razor_config_file" default="$(find razor_imu_9dof)/config/my_razor.yaml"/>
<node pkg="razor_imu_9dof" type="imu_node.py" name="imu_node" output="screen">
<rosparam file="$(find razor_imu_9dof)/config/my_razor.yaml" command="load"/>
<rosparam file="$(arg razor_config_file)" command="load"/>
</node>
<node pkg="razor_imu_9dof" type="display_3D_visualization.py" name="display_3D_visualization_node" output="screen">
</node>
Expand Down
3 changes: 2 additions & 1 deletion launch/razor-pub-diags.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<launch>
<arg name="razor_config_file" default="$(find razor_imu_9dof)/config/my_razor.yaml"/>
<node pkg="razor_imu_9dof" type="imu_node.py" name="imu_node" output="screen">
<rosparam file="$(find razor_imu_9dof)/config/my_razor.yaml" command="load"/>
<rosparam file="$(arg razor_config_file)" command="load"/>
</node>

<node pkg="diagnostic_aggregator" type="aggregator_node" name="diagnostic_aggregator" clear_params="true">
Expand Down
3 changes: 2 additions & 1 deletion launch/razor-pub.launch
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<launch>
<arg name="razor_config_file" default="$(find razor_imu_9dof)/config/my_razor.yaml"/>
<node pkg="razor_imu_9dof" type="imu_node.py" name="imu_node" output="screen">
<rosparam file="$(find razor_imu_9dof)/config/my_razor.yaml" command="load"/>
<rosparam file="$(arg razor_config_file)" command="load"/>
</node>
</launch>

0 comments on commit e8abb98

Please sign in to comment.