ros-controls / gazebo_ros2_control

Wrappers, tools and additional API's for using ros2_control with Gazebo Classic
Apache License 2.0
186 stars 118 forks source link

Proposal: GPIO tags support, mapped to gazebo::Transport topics #185

Open roncapat opened 1 year ago

roncapat commented 1 year ago

This is a proposal (not sure if it's the right place for that) about adding to gazebo_ros2_control the possibility to read/write Gazebo topics. For example, in an use-case of mine, I needed an elegant way for my controller to set some kind of value to the (simulated) hardware, so to a Gazebo plugin. I checked the Gazebo API and found out that apart from introspection (read-only way to communicate) the other common solution (found in the PX4 SITL packages for example) is to bridge plugins via gazebo messages (Google protobufs).

Any interest in a function like that? Since I'm working on it already, it might be possible for me to provide a clean implementation (with some extra work).

ahcorde commented 1 year ago

Happy to review the PR, I would suggest to include a tutorial or example too.

roncapat commented 1 year ago

A possible work rationale here is to:

Other desiderata?