gazebosim / ros_gz

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

ROS node that runs Gazebo using `gz::sim::Server` #497

Closed azeey closed 1 month ago

azeey commented 4 months ago

Desired behavior

There are a few problems with using the gz CLI interface for starting Gazebo from ROS.

Alternatives considered

Implementation suggestion

I propose we implement a ROS node that runs Gazebo using gz::sim::Server. This would make it a lot easier to customize Gazebo in a way that's optimized for ROS users.

mjcarroll commented 4 months ago

I think that this work could also go in conjunction with a standalone executable for gz-sim. Right now, a lot of our parsing/startup logic is in the ruby and gz.cc files, and this could be refactored into a cleaner interface that both the cli tooling and a ROS node could use.