tum-vision / lsd_slam

LSD-SLAM
GNU General Public License v3.0
2.6k stars 1.23k forks source link

how to get LSD_room/cameraCalibration.cfg #138

Open xiaokeme opened 9 years ago

xiaokeme commented 9 years ago

where is the cameraCalibration.cfg of dataset slam,please help me

weblucas commented 9 years ago

the LSD_room.bag has inside the intrinsic parameters (camera_info). you only need to provide this in case of your camera is not publishing this topic. Just do what is described in the README.md section 1. it works fine.

xiaokeme commented 9 years ago

yes! I have do it follow README.md section 1,and it works well .but now I want to connect usb camera(it is an ordinary camera) to run “ live_slam ”. but I don't Know what does the “yourstreamtopic” mean.So I try to only use cameraCalibration.cfg of dataset slam to run the following order. but Not found the cameraCalibration.cfg. rosrun lsd_slam_core live_slam /image:= /camera_info:=

if there is no cameraCalibration.cfg. how can I run “ live_slam ” with an ordinary usb camera?

weblucas commented 9 years ago

you need to read a bit about ROS concepts, to understand about topics. it will be very difficult to use this code without that. You need to use a node to read your camera and publish the image_raw topic http://wiki.ros.org/usb_cam

for calibration and generation of the camera_info file follow this tutorial. http://wiki.ros.org/camera_calibration/Tutorials/MonocularCalibration

good luck

xiaokeme commented 9 years ago

thanks a lot. Enjoy yourself!