Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mobile_robotics
wolf_projects
wolf_lib
plugins
vision
Commits
4aa3bc48
Commit
4aa3bc48
authored
Apr 23, 2022
by
Joan Solà Ortega
Browse files
Fix bug: remove distortion info from camera when using rectified images
parent
43b1cc37
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/vision/sensor/sensor_camera.h
View file @
4aa3bc48
...
...
@@ -179,6 +179,8 @@ inline bool SensorCamera::useRectifiedImages()
{
getIntrinsic
()
->
setState
(
pinhole_model_rectified_
);
K_
=
setIntrinsicMatrix
(
pinhole_model_rectified_
);
distortion_
.
resize
(
0
);
// remove distortion from model
correction_
.
resize
(
0
);
using_raw_
=
false
;
return
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment