Skip to content

Commit

Permalink
Use sim time setted as parameter
Browse files Browse the repository at this point in the history
Use sim time setted as parameter in the launch file.
  • Loading branch information
gsilano committed May 28, 2018
1 parent 45e5fbf commit 4fa64c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion launch/task1_world.launch
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<arg name="x" default="0.0" />
<arg name="y" default="0.0" />
<arg name="z" default="0.02" />
<arg name="use_sim_time" default="true"/>
<arg name="world_name" default="basic"/>
<arg name="wind_force" default="0.0"/>
<arg name="wind_start" default="0.0"/>
Expand Down Expand Up @@ -35,7 +36,7 @@
<node name="position_controller_node" pkg="teamsannio_med_control" type="position_controller_node" output="screen">
<rosparam command="load" file="$(find teamsannio_med_control)/resource/controller_bebop.yaml" />
<rosparam command="load" file="$(find teamsannio_med_control)/resource/bebop.yaml" />
<param name="use_sim_time" value="true" />
<param name="use_sim_time" value="$(arg use_sim_time)" />
<remap from="/command/motor_speed" to="/gazebo/command/motor_speed" />
<remap from="/odometry" to="/bebop/odometry" />
<remap from="/command/trajectory" to="/bebop/command/trajectory" />
Expand Down

0 comments on commit 4fa64c7

Please sign in to comment.