Home

Awesome

ORB-SLAM-free-space-carving

Implementation and annotation of Free Space Carving algorithm (CARV) using ORB-SLAM map points and camera poses.

What is it?

How to use?

set env variables

export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:your-folder/Examples/ROS echo $ROS_PACKAGE_PATH$

compile base lib:

  1. ORB-SLAM library:chmod +x build.sh
  2. ./build.sh

compile ROS:

1 chmod +x build_ros.sh 2 ./build_ros.sh

if errors indicate: no rule to make target... delete build folder and build again.

source bash to run with ros

source your-folder/Examples/ROS/ORB_CARV_Pub/build/devel/setup.bash cd your-folder

run

  1. set env if you networking with other computers: export ROS_MASTER_URI=http://your-ip:11311 export ROS_HOSTNAME=your-ip
  2. roscore
  3. run your camera node, e.g., usb-cam launch file. For compressed image: rosrun image_transport republish compressed in:=/touch/usb_cam/image_raw raw out:=/chris/image
  4. rosrun ORB_CARV_Pub Mono Vocabulary/ORBvoc.txt chris_logic_HD720.yaml /camera/image_raw:=/usb_cam/image_raw

Codes Explained

More details can be found in src/README.md