tier4 / CalibrationTools

sensor calibration tools for autonomous driving and robotics
GNU General Public License v3.0
121 stars 44 forks source link

fix(extrinsic_calibration_manager): rename tag-based camera topic for xx1 #154

Closed muraki-t4 closed 9 months ago

muraki-t4 commented 9 months ago

Description

Rename tag-based camera topic for xx1

Related links

None

Tests performed

Launched extrinsic tag-based calibration and confirmed that calibration has been successfull.

Notes for reviewers

None

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

After all checkboxes are checked, anyone who has write access can merge the PR.

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (e4d59eb) to head (dda4f48).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## tier4/universe #154 +/- ## ================================================= - Coverage 0.93% 0.00% -0.94% ================================================= Files 270 6 -264 Lines 21339 1307 -20032 Branches 383 0 -383 ================================================= - Hits 200 0 -200 + Misses 20982 1307 -19675 + Partials 157 0 -157 ``` | [Flag](https://app.codecov.io/gh/tier4/CalibrationTools/pull/154/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tier4) | Coverage Δ | | |---|---|---| | [differential](https://app.codecov.io/gh/tier4/CalibrationTools/pull/154/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tier4) | `0.00% <ø> (?)` | | | [total](https://app.codecov.io/gh/tier4/CalibrationTools/pull/154/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tier4) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tier4#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

knzo25 commented 9 months ago

Dont merge this We need to use image raws for cameras with distortion

muraki-t4 commented 9 months ago

@knzo25 Does this mean that the topics are different for cameras with and without distortion? If so, should I change the topic in the launch file to switch by the additional distortion argument?

knzo25 commented 9 months ago

The camera info topic contains both the data for distorted (image_raw) and undistorted (image_rect) images. The tools in the main branch assumes the incoming images are distorted and uses the camera_info accordingly. The "exception" to this are some of the C1/C2 cameras used currently in our projects since they can effectively undistort the images before entering the ROS pipeline (it is done in their ISP).

If you want to calibrate XX1 (besides the vehicle_id=4), you need to record the image_raw topics.

Btw: the new version accommodates for this situation and can switch between using image_raw and image_rect with a flag (though untested since we don't have the data to test it and does not form part of our requirements so far)

This issue may give you some idea of what would happen were you to ignore the differences (not exactly the same but still related to the difference between images) https://github.com/tier4/CalibrationTools/issues/137

knzo25 commented 9 months ago

@muraki-t4 What are you planning do to with this PR? Turn it into a draft? Close it?

muraki-t4 commented 9 months ago

@knzo25 Sorry, for my late response. I will close this pr.

I will change the launch files locally until new version is released.