Repository navigation
Conversation
Assisted-by: OpenAI Codex Signed-off-by: Kwon Yeseol <172019512+yeseorizi@users.noreply.github.com>
This branch has not been deployed
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
Fix camera conversion and ROS image metadata issues reproduced on current
main(0d19c3f). This is a follow-up to the already merged camera work, not a replacement for PR #5.const gz::msgs::Imagebuffer.Reproduction and validation
The added adversarial suite failed 7 of 8 cases before the fix: it demonstrates source-buffer mutation, malformed input exceptions, and undefined NaN conversion. The existing renderer-passthrough behavior remains covered so attenuation is not applied twice.
ros_gz_bridgeshutdown overlay; this PR does not claim to fix that separate dependency.pre-commitchecks passed.colcon build --packages-select posim_gz_sensor_plugins --cmake-args -DBUILD_TESTING=ON ctest --test-dir build/posim_gz_sensor_plugins --output-on-failure \ -R '^test_(underwater_camera|camera_adversarial|pressure_shutdown)$' --repeat until-fail:10Scope / limitations
Test environment: Ubuntu 26.04 ARM64 Docker on an Apple Silicon Mac, ROS 2 Lyrical, Gazebo Jetty 10.5.0; software rendering for the scene test. This is not native-Linux, real-GPU, WGPU-sonar or full-release certification. No image publication or dependency changes are included.
The existing locally patched
asv_wave_simdependency also remained installed during scene checks. Neither that renderer teardown patch nor the bridge overlay is included in this PR; successful scene cleanup is not attributed to this change alone.Checklist
pre-commit.colcon testis clean. The earlier full audit also reports pre-existing ament cpplint/uncrustify/copyright failures; no tests were disabled here.Assisted-by: OpenAI Codex (implementation, tests and PR preparation).