Hypha-ROS / hypharos_ardrone_navigation

ARDrone autonomous indoor navigation by integrating lsd-slam with imu through least square method
http://www.ros.org/news/2014/12/ardrone-autonomous-indoor-navigation-by-3d-slam.html
Apache License 2.0
51 stars 16 forks source link

camera calibration error using image_pipeline #13

Open paul3333 opened 3 years ago

paul3333 commented 3 years ago

I am running your package on ubuntu 16.04, ROS Kinetic and been able to build all packages using catkin_make without errors. I also included the image_pipeline package as you were using it to rectify the drones images.

When running the camera calibration rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.108 image:=/ardrone/front/image_raw camera:=/ardrone/front/

I receive the following error:

kinetic@kinetic:~$ rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.108 image:=/ardrone/front/image_raw camera:=/ardrone/front/ ('Waiting for service', '/ardrone/front/set_camera_info', '...') OK Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/home/kinetic/catkin_ws/src/image_pipeline/camera_calibration/src/camera_calibration/camera_calibrator.py", line 107, in run self.function(m) File "/home/kinetic/catkin_ws/src/image_pipeline/camera_calibration/src/camera_calibration/camera_calibrator.py", line 181, in handle_monocular max_chessboard_speed = self._max_chessboard_speed) File "/home/kinetic/catkin_ws/src/image_pipeline/camera_calibration/src/camera_calibration/calibrator.py", line 725, in init super(MonoCalibrator, self).init(*args, **kwargs) TypeError: super() argument 1 must be type, not classobject

Has anyone faced this issue? Any help would be highly appreciated.