gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.2k stars 482 forks source link

Run lockstep mode from roslaunch #3394

Closed EmmanuelMess closed 3 months ago

EmmanuelMess commented 3 months ago

When I run:

<include file="$(find gazebo_ros)/launch/empty_world.launch">
  <arg name="world_name" value="$(find weed_robot_gazebo)/worlds/$(arg world).world"/>
  <arg name="lockstep" value="true" />
</include>

I get:

RLException: unused args [lockstep] for include of [/opt/ros/noetic/share/gazebo_ros/launch/empty_world.launch]
The traceback for the exception was written to the log file
EmmanuelMess commented 3 months ago

Done. Its run with:

  <arg name="extra_gazebo_args" value="--lockstep"/>