Skip to content

common functions used for visual inertial odometry, esp, I/O

License

Notifications You must be signed in to change notification settings

pangchenglin/vio_common

 
 

Repository files navigation

vio_common

Build instructions

Install opencv 2.4 and eigen 3.3

#e.g., 
sudo apt-get install libopencv-dev libeigen3-dev

If you want to install a specific version of these libraries or install to a specific path (note -DCMAKE_INSTALL_PREFIX), you may build them from source.

Build vio_common

Without ROS

cd workspace
git clone https://github.com/JzHuai0108/vio_common.git vio_common
mkdir build && cd build
#cmake .. -DOpenCV_DIR=/folder/of/OpenCVConfig.cmake -DEIGEN_INCLUDE_DIR=/folder/of/Eigen -DCMAKE_INSTALL_PREFIX=$HOME/workspace/local_install/vio_common
#e.g.,
cmake .. -DOpenCV_DIR=$HOME/workspace/local_install/opencv/share/OpenCV -DEIGEN_INCLUDE_DIR=$HOME/workspace/local_install/eigen -DCMAKE_INSTALL_PREFIX=$HOME/workspace/local_install/vio_common
make
make install

With ROS

catkin build vio_common -DUSE_ROS=ON -DCMAKE_BUILD_TYPE=Release -j4

Build and run gtests

# Build tests
catkin build vio_common --catkin-make-args run_tests
# or
catkin build --make-args tests -- vio_common

# list tests
rosrun vio_common vio_common_test --gtest_list_tests
# run a test
rosrun vio_common vio_common_test --gtest_filter="*some_test*"

References

[1] Build and run tests with catkin tools. [2] Run unit tests with catkin

About

common functions used for visual inertial odometry, esp, I/O

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.7%
  • C 43.4%
  • MATLAB 3.8%
  • CMake 2.8%
  • Shell 0.3%