Ask Your Question
0

Asus xtion pro live depth camera calibration error : ImportError: No module named camera_calibration.approxsync

asked 2013-05-13 20:23:52 -0500

sai gravatar image

Hi,

ubuntu 12.04 and ROS Fuerte

I want to calibrate the ir camera of the Asus xtion pro live so that i can get accurate reading from the device.

When I tried I was getting the error given below..

Any suggestion

sai@sai-HP-EliteBook-8460w:~/fuerte_workspace$ rosrun camera_calibration cameracabrator.py --size 8x6 --square 0.108 image:=/camera/ir/image_raw camera:=/camera/ir/camera_info

Traceback (most recent call last): File "/opt/ros/fuerte/stacks/image_pipeline/camera_calibration/nodes/cameracalibrator.py", line 42, in <module> from camera_calibration.approxsync import ApproximateSynchronizer

ImportError: No module named camera_calibration.approxsync

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-14 23:39:39 -0500

sai gravatar image

Hi..got the answer from http://answers.ros.org/question/52811/unable-to-run-cameracalibratorpy/?comment=62676#comment-62676 by mhariharasudan

search for appoxsync in your camera_calibration package. Then place it in the same folder as your source file. Replace the line "from camera_calibration.approxsync" with "from approxsync" and this should work.

This worked like a magic.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-05-13 20:23:52 -0500

Seen: 727 times

Last updated: May 14 '13