- hardware setup
- jetson TX2 - Jetpack 4.2
- jetson AGX Xavier
- jetson Xavier NX - Jetpack 4.4
- realsense D435i (color, infra1, infra2)
- pixhawk4 mini
- software setup
- Ubuntu: 18.04
- ROS: Melodic
- OpenCV 3.4.1
- github link: HKUST-Aerial-Robotics
- ~Eigen from here
$ wget https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.zip
$ unzip eigen-3.3.7.zip
$ cd ~/eigen-3.3.7 && mkdir build && cd build
$ cmake ../ && sudo make install -j $(nproc)
- Ceres solver from here
$ sudo apt-get install -y cmake libgoogle-glog-dev libatlas-base-dev libsuitesparse-dev
$ wget http://ceres-solver.org/ceres-solver-1.14.0.tar.gz
$ tar zxf ceres-solver-1.14.0.tar.gz
$ cd ceres-solver-1.14.0
$ mkdir build && cd build
$ cmake -DEXPORT_BUILD_DIR=ON \
-DCMAKE_INSTALL_PREFIX=/usr/local \
../
$ make -j $(nproc) # number of cores
$ make test -j $(nproc)
$ sudo make install -j $(nproc)
- if you built OpenCV manually(refer here), you should also build 'cv_bridge' manually from source.
- Download from proper branch in here according to your ROS version. For example,
$ cd ~/catkin_ws/src
$ git clone -b melodic https://github.com/ros-perception/vision_opencv.git
- git clone and build from source
$ cd ~/catkin_ws/src
$ git clone https://github.com/HKUST-Aerial-Robotics/VINS-Mono.git
$ cd ../ && catkin build -DCMAKE_BUILDTYPE=Release -j $(nproc)
$ source ~/catkin_ws/devel/setup.bash
● for using your own sensor setup, you have to get a calibration data using kalibr
$ roslaunch realsense2_camera rs_camera.launch
$ roslaunch mavros px4.launch
$ roslaunch vins_estimator realsense_color.launch
$ roslaunch vins_estimator vins_rviz.launch