Gazebo | Ignition | Community
Ask Your Question
0

Does camera distortion support generic camera model?

asked 2017-10-02 01:22:01 -0500

belty518 gravatar image

Hi, all

I'm trying to utilize distortion coefficients on fisheye camera simulation with generic camera model (opencv 3.0), which is (k1, k2, k3, k4). While according to the tutorial, gazebo seems only support brown's model(k1 k2 k3 p1 p2). so i'm wondering is there any solution or plugin to make the image more accurate to the real condition?

Thanks!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-10-03 14:03:14 -0500

iche033 gravatar image

we have fisheye cameras in gazebo (referred to as wide angle camera) but unfortunately we don't support distortion models for it yet.

Looking at the the description of the fisheye camera model, we should be able to update gazebo's fisheye camera's glsl shaders to factor in the distortion coefficients when calculating theta.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-10-02 01:22:01 -0500

Seen: 2,211 times

Last updated: Oct 03 '17