Fix BlueROV IMU bridge for ArduSub SITL - #66
Open
yeseorizi wants to merge 1 commit into
Open
Conversation
Signed-off-by: yeseorizi <172019512+yeseorizi@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Restore the BlueROV2 IMU data path expected by
ardupilot_gazeboand preserve the existing ROS-facing IMU topic.Problem
The BlueROV2 SDF files explicitly published IMU data on
/model/<namespace>/imu, while the ArduPilot Gazebo plugin subscribes to the sensor's fully scoped Gazebo topic:The two topics did not match. The ArduPilot plugin therefore received no IMU sample, returned empty sensor packets to ArduSub, and MAVROS remained disconnected with repeated
No JSON sensor message receivedoutput.The launch file also used the selected world filename rather than the world entity name declared inside the SDF (
dave_ocean_waves.worlddeclaresoceans_waves).Changes
<topic>from all three BlueROV2 model variants./model/<namespace>/imu.Validation
Rebased onto
ros2after PR #65 and rebuiltdave_demosanddave_robot_modelsin an ARM64 Lyrical / Jetty container.Both
bluerov2andbluerov2_heavypassed:The logs also contained:
pre-commit run --all-filesalso passed.