Skip to content

Commit

Permalink
add description
Browse files Browse the repository at this point in the history
  • Loading branch information
jingpang committed Dec 23, 2016
1 parent fd15a1d commit cbb4863
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ An implementation of [Visual Inertial ORBSLAM](https://arxiv.org/abs/1610.05949)

No Loop Closure. Not bug-free. Not real-time. Just try the basic ideas of Visual Inertial SLAM in above paper.

Build with `build.sh`. Tested on EuRoc ROS bag data. Modify the path in `config/euroc.yaml`.

Below is the primary README of ORBSLAM2.

# ORB-SLAM2
Expand Down
15 changes: 15 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,20 @@ cmake .. -DCMAKE_BUILD_TYPE=Release
make -j
cd ..

echo "Build ROS node ..."

cd Examples/ROS/ORB_VIO
mkdir build
cd build
cmake .. -DROS_BUILD_TYPE=Release
make -j
cd ../../../../

echo ""
echo "Launch file in Examples/ROS/ORB_VIO/launch."
echo "Modify the configuration file config/euroc.yaml"
echo "Run as: roslaunch ORB_VIO testeuroc.launch"
echo ""

#echo "Converting vocabulary to binary"
#./tools/bin_vocabulary
9 changes: 7 additions & 2 deletions config/euroc.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
%YAML:1.0

# Modify test.InitVIOTmpPath and bagfile to the correct path
# Path to save tmp files/results
test.InitVIOTmpPath: "/home/jp/opensourcecode/ORB_SLAM2/tmp/"

## For good initialization (no movement at the beginning for some bag)
test.DiscardTime: 0
bagfile: "/home/jp/TimeV1_01_easy.bag"
Expand All @@ -22,11 +26,12 @@ bagfile: "/home/jp/TimeV1_01_easy.bag"
#bagfile: "/media/jp/JingpangPassport/3dataset/EuRoC-VIO/un_restamped/V1_03_difficult.bag"
#bagfile: "/media/jp/JingpangPassport/3dataset/EuRoC-VIO/un_restamped/V2_03_difficult.bag"


#######################################

imutopic: "/imu0"
imagetopic: "/cam0/image_raw"

# Path to save tmp files/results
test.InitVIOTmpPath: "/home/jp/opensourcecode/ORB_SLAM2/tmp/"

# Timestamp shift. Timage = Timu + image_delay
Camera.delaytoimu: 0
Expand Down

0 comments on commit cbb4863

Please sign in to comment.