ethz-asl / ethzasl_ptam

Modified version of Parallel Tracking and Mapping (PTAM)
http://wiki.ros.org/ethzasl_ptam
235 stars 184 forks source link

Getting a double image while Running camera Calibrator and ptam #81

Closed siddyyagno3 closed 8 years ago

siddyyagno3 commented 8 years ago

screenshot from 2016-02-09 22 21 30 While running Ptam and camera calibration we are getting a double image. Our camera is logitech c270 http://www.logitech.com/en-in/product/hd-webcam-c270 We are publishing image using image publisher http://wiki.ros.org/image_transport/Tutorials/PublishingImages. Running camera calibrator using rosrun ptam cameracalibrator image:=/camera/image. Our ubuntu is 14.04. Ros version is indigo. open cv version 2.4.9 Thanks in advance for any help.

vanurag commented 8 years ago

Probably you are having similar issue as #76 You need to convert your color images to grayscale using image_proc

siddyyagno3 commented 8 years ago

Thanx yeah I fixed it by subscribing to image_mono