[Garden] Fix bridging Gz to ROS2 topics #520
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Ian Chen ichen@openrobotics.org
Follow up to #519, this PR fixes the ROS2 topics for the wamv. The problem was that the ros_ign_bridge is still using the
ignition.msgs.*
msg types instead ofgz.msgs
(see msg type tableREADME.md
) , presumably to keep compability with Fortress.All ROS2 topics should be working except the thruster cmd topic. It requires this gazebosim/gz-sim#1681 to be forward ported from Fortress to Garden
The thrusters joint pos topic should work.
I removed more topic bridges that are not needed / used:
/wamv/imu/data
- commented out as there is no imu sensor on the wamv yet/wamv/rx
and/wamv/tx
- commented out as RFComms is not being used yet/vrx/score
,/vrx/run_clock
,/vrx/phase
: removed as these are also MBZIRC-specific. From looking at the vrx technical guide, I think there is a/vrx/task/info
topic with custom message type that captures these status data instead.