Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ipm distortion instead of image rectification #361

Merged
merged 24 commits into from
Mar 27, 2024
Merged

Conversation

Flova
Copy link
Member

@Flova Flova commented Mar 19, 2024

Summary

Consider distortion in the IPM instead of rectifying the whole image, as the image rectification degrades the image quality and takes a significant amount of time. Also switch from the Ros Pylon Driver to a custom node that communicates with pylon. The reasoning behind this is a hard to fix timestamp issue in the driver. Also gets rid of the blaze dependency and a number of compiler warnings the other maintainer refused to fix.

Proposed changes

  • Use new distortion feature in the IPM
  • Remove rectification from image pipeline
  • Add extrinsic calibration of imu
  • Do image postprocessing in custom node instead of image_proc
  • Add calibration for Amy and Rory
  • Remove header from extrinsic calibration node (we will not link against it and it is more convenient that way
  • Fix high load of head mover
  • Use own pylon ros driver

Related issues

Waits for ros-sports/ipm#64 and the linked PRs there.
Closes #363

Checklist

  • Run colcon build
  • Write documentation
  • Test on your machine
  • Test on the robot
  • Create issues for future work
  • Triage this PR and label it

Copy link
Member

@jaagut jaagut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did not properly read calibrator. Maybe someone else could have a look at it?

bitbots_misc/bitbots_ipm/launch/ipm.launch Show resolved Hide resolved
bitbots_misc/bitbots_basler_camera/package.xml Outdated Show resolved Hide resolved
@@ -374,18 +374,19 @@
</material>
</visual>
</link>
<link name="imu_frame">
<!-- Renamed due to extrinsic calibration -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please PR description

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already there

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My goal was to mention the new IMU (static) frames. We should document somewhere what the extrisic calibration does and where those frames magically come from...

bitbots_misc/bitbots_ipm/launch/ipm.launch Outdated Show resolved Hide resolved
@@ -374,18 +374,19 @@
</material>
</visual>
</link>
<link name="imu_frame">
<!-- Renamed due to extrinsic calibration -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My goal was to mention the new IMU (static) frames. We should document somewhere what the extrisic calibration does and where those frames magically come from...

@jaagut jaagut self-requested a review March 27, 2024 16:54
@Flova Flova merged commit 7944abd into main Mar 27, 2024
1 of 2 checks passed
@Flova Flova deleted the feature/ipm_distortion branch March 27, 2024 16:55
@Flova Flova mentioned this pull request Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Head mover takes very long time to react to head mode change
2 participants