ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

How do you calibrate the extrinsic parameters?

asked 2014-10-28 03:28:48 -0500

Mehdi. gravatar image

I was trying to calibrate my camera mounted on the robot base so that I can get the transform from base_link to camera_link. i was looking for efficient and fast ways to do this and I found the following calibration algorithm which was useful because I could fix my pattern on the robot base directly and use a mirror to make it visible to the camera.

After doing some tests with that, the results were totally wrong. I also tested with a webcam mounted on my pc and I couldn't get good results.

How do the ROS community proceed with the extrinsic calibration of a monocular camera?

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
4

answered 2014-10-28 04:35:54 -0500

gvdhoorn gravatar image

updated 2014-10-28 04:57:28 -0500

You might be interested in the industrial_calibration package from the ROS-Industrial community. Also: Industrial Calibration Library Update and Presentation.

It can be a bit involved to get it working at the moment, but that is being worked on. If you find you need help with anything, don't hesitate to send a mail to the ROS-Industrial mailing list (or ask here on ROS Answers of course).

edit flag offensive delete link more

Comments

That doesn't work with melodic.

Jägermeister gravatar image Jägermeister  ( 2019-07-24 02:05:47 -0500 )edit

You're commenting on a 5 year old Q&A. I'm not surprised that pkg may not work on Melodic.

gvdhoorn gravatar image gvdhoorn  ( 2019-08-01 09:10:33 -0500 )edit
0

answered 2015-02-11 10:59:24 -0500

gborghesan gravatar image

Hello,

I posted a similar question a while ago, and not having found a good solution, i coded one myself (unaware of ros industrial package). My solution needs a way to recover a frame through the camera, like ar_pose, plus a marker that is attached to the end effector (no need to know where, only that does not move during calibration). I checked it with Asus Xtion + ar_kinect the solution gives the camera to base frame transformation (plus the position of marker w.r.t. the robot link where the marker is attached, a data that is normally discarded)

see camera_robot_calibration

edit flag offensive delete link more

Comments

Hello @gborghesan

I've been using your tool to calibrate a static camera with respect to robot coordinates. Could you help me out with some resources to understand the math behind optimization process to minimize the error

I have been consistently getting some translation error in one of the axes

avilash gravatar image avilash  ( 2018-08-02 13:23:42 -0500 )edit

No offense but this has quite poor documentation, it's quite time consuming to get anything working.

Jägermeister gravatar image Jägermeister  ( 2019-07-24 02:14:46 -0500 )edit
0

answered 2014-10-28 07:06:28 -0500

Airuno2L gravatar image

Hello,

I use this GUI based software for intrinsic and extrinsic camera parameters. I've used it a lot and have always had good results. I've only used it for pre-processing, I've never used it during real-time applications.

edit flag offensive delete link more

Comments

I really hope they wrote that in a cross platform way

Mehdi. gravatar image Mehdi.  ( 2014-10-28 20:42:13 -0500 )edit

The code was written for OpenCV 2.1 and was tested mostly on win32 (Windows XP, Windows Vista, Windows 7) platform. System Requirements: .Net Framework 3.5 SP1

Perhaps Wine or Mono could help here, but apparently no guarantees.

gvdhoorn gravatar image gvdhoorn  ( 2014-10-29 04:01:15 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-10-28 03:28:48 -0500

Seen: 3,592 times

Last updated: Oct 28 '14