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

Allow for n distortion params #93

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Allow for n distortion params #93

wants to merge 8 commits into from

Conversation

ToniRV
Copy link
Collaborator

@ToniRV ToniRV commented Jun 29, 2020

No description provided.

@violetteavi
Copy link
Contributor

@ToniRV Is this ready to pull?
My review will be to build and use it lol

@ToniRV
Copy link
Collaborator Author

ToniRV commented Jun 30, 2020

Ready yes! Let me know how it goes!

@violetteavi
Copy link
Contributor

@ToniRV When I build it with current Kimera-VIO-ROS master , I get the following error:

/home/andrew/catkin_ws/src/Kimera-VIO-ROS/src/utils/UtilsRos.cpp:84:58: error: ‘class VIO::CameraParams’ has no member named ‘calibration_’; did you mean ‘camera_id_’?
                                             &cam_params->calibration_);

Do you have a pair of Kimera-VIO and Kimera-VIO-ROS branches that compile here?

@violetteavi
Copy link
Contributor

It looks like Kimera-VIO-ROS has a stubbed method for mapping coefficients to gtsam calibration functions. Because the calibration_ field appears to have been removed in the refactor, I assume this stubbed method is no longer necessary-- I'm going to remove it and see if it compiles.

  VIO::CameraParams::createGtsamCalibration(cam_params->distortion_coeff_,
                                            cam_params->intrinsics_,
                                            &cam_params->calibration_);

@violetteavi
Copy link
Contributor

Fixed Kimera-VIO-ROS branch fix/distortion. It compiles-- going to test the five-parameter distortion models now.

violetteavi and others added 6 commits July 1, 2020 18:55
…a-VIO into fix/distortion

* 'feature/euroc_playground' of github.mit.edu:SPARK/Kimera-VIO:
  Fix sensor name
  Disable testEurocPlayground for now, needs dataset
  Add display flag to tests
  Do not display when running tests
  Wrap-up with camera, stereo_camera, and undistortrectifier
  Store depth maps
  Add mono camera, not tested
  Minor rename in euroc dataprov
  Fix pipeline: kalpha in stereo set to -1
  Avoid unecessary math for baseline..
  Fix errors from merge, update to OpenCvDisplay and Viz
  HUGE Commit: something broke for pipeline, add euroc playground stereo recons
  Add projection in stereo camera
  Remove unneeded statics in euroc play
  Finally got imgs in EurocPlayground right
  HUGE: fix opencv viz bug, improve euroc playground
  Add EurocPlayground
Comment on lines +95 to +96
cv::Mat
;
Copy link

Choose a reason for hiding this comment

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

I believe you removed K_ by mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants