Also replaces PR #572, now retargeted to the ros2 branch.
Summary
Adds the new ros_gz_interfaces/msg/EntityWrench, with structure compatible with gz.msgs.EntityWrench. This enables the user to apply wrenches to Gazebo entities using ROS topics.
Also implements the ros_gz_bridge mapping between ros_gz_interfaces/msg/EntityWrench and gz.msgs.EntityWrench.
Test it
Manual testing involves spawning any entity in Gazebo and loading the gz::sim::systems::ApplyLinkWrench plugin to the world SDF. Then, call the ros_gz_bridge to expose the entity wrench topic as follows (YAML syntax):
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers
Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.
* [#574 Add support for gz.msgs.EntityWrench (base branch: ros2) (backport #573)](https://github.com/gazebosim/ros_gz/pull/574) has been created for branch `jazzy`
* [#575 Add support for gz.msgs.EntityWrench (base branch: ros2) (backport #573)](https://github.com/gazebosim/ros_gz/pull/575) has been created for branch `humble` but encountered conflicts
* [#576 Add support for gz.msgs.EntityWrench (base branch: ros2) (backport #573)](https://github.com/gazebosim/ros_gz/pull/576) has been created for branch `iron` but encountered conflicts
🎉 New feature
Closes #566
Also replaces PR #572, now retargeted to the
ros2
branch.Summary
Adds the new ros_gz_interfaces/msg/EntityWrench, with structure compatible with gz.msgs.EntityWrench. This enables the user to apply wrenches to Gazebo entities using ROS topics.
Also implements the ros_gz_bridge mapping between ros_gz_interfaces/msg/EntityWrench and gz.msgs.EntityWrench.
Test it
Manual testing involves spawning any entity in Gazebo and loading the gz::sim::systems::ApplyLinkWrench plugin to the world SDF. Then, call the ros_gz_bridge to expose the entity wrench topic as follows (YAML syntax):
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.