gazebosim / ros_gz

Integration between ROS (1 and 2) and Gazebo simulation
https://gazebosim.org
Apache License 2.0
261 stars 139 forks source link

Error in launch file using <gz_server> #652

Closed caguero closed 10 hours ago

caguero commented 22 hours ago

Environment

Description

Similar to #650, If I run this launch file (saved as gz_server.launch:

<launch>
  <gz_server world_sdf_file="shapes.sdf" />
</launch>

with:

ros2 launch ros_gz_sim gz_server.launch

I'm getting this error message:

[ERROR] [launch]: Caught exception in launch (see debug for traceback): launch configuration 'world_sdf_file' does not exist