-
ROS (tested with kinetic)
-
sudo pip install kitti2bag
(for conversion to rosbag)
-
Clone the repo to your workspace
https://github.com/srikanthmalla/visual_slam.git
-
cd
visual_slam
(go in to the package) -
Download Kitti Visual Odometry Dataset
sh download_dataset.sh
(automatically into datasets folder) -
Compile the code using
catkin_make
-
Run
roslaunch visual_slam visual_slam.launch
Input data (camera) is 9.690 hz
With cpu_flow (KLT)~ program runs at 3hz
For using gpu_flow from openCV, please check setup_notes.txt
- In opencv z is considered forward, but x is considered backward in ROS (kitti) and z down.