How to run LSD-SLAM with usb_cam? plz
I install LSD-SLAM in a new Ubuntu PC
First I install ROS-indigo with the ROS tutorial.
Second I install "-$ sudo apt-get install ros-indigo-uvc-camera" for camera.
Third I install LSD-SLAM 2.2 on https://github.com/tum-vision/lsd_slam. And "rosmake" without failures.
FInally, I run "Quickstart / Minimal Setup" with LSD_room.bag, but error!!!!!
lwc@ubuntu:~$ rosbag play /home/lwc/Downloads/LSDroom.bag
[ INFO] [1478316004.308358407]: Opening /home/lwc/Downloads/LSDroom.bagWaiting 0.2 seconds after advertising topics... done.
Hit space to toggle paused, or 's' to step.
[ERROR] [1478316004.738215027]: Client [/LSDSLAM] wants topic /imageraw to have datatype/md5sum [sensormsgs/CompressedImage/8f7a12909da2c9d3332d540a0977563f], but our version has [sensormsgs/Image/060021388200f6f0f447d0fcd9c64743]. Dropping connection.
[RUNNING] Bag Time: 1400002317.507880 Duration: 55.293594 / 55.334465
Done.
But when I use "datasetslam" with "LSDroomimages",
"~$ rosrun lsdslamcore datasetslam files:=/home/lwc/LSDroom/images hz:=0 _calib:=/home/lwc/LSDroom/cameraCalibration.cfg"
it can run, and it's great.
When I use "liveslam" with camera
"~$ rosrun lsdslamcore liveslam /image:=imageraw _calib:=/home/lwc/LSDroom/cameraCalibration.cfg"
it can't run, and have same problem with Quickstart!!!!!
Do I need calibrate the camera in ROS, or do something?
Please, help me!!!!!
Asked by nistar on 2016-11-05 20:48:40 UTC
Comments