mkdir ~/MYNT
cd ~/MYNT
git clone https://github.com/slightech/MYNT-EYE-S-SDK.git SDK
cd SDK
make init
make
make install
make samples
make tools
make ros
# make all
Configuring and building ORB_SLAM2 ...
-- Could NOT find CHOLMOD (missing: CHOLMOD_INCLUDE_DIR CHOLMOD_LIBRARIES)CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CHOLMOD_INCLUDE_DIR
used as include directory in directory /home/neko/catkin_ws/src/MYNT-EYE-VIORB-Sample
used as include directory in directory /home/neko/catkin_ws/src/MYNT-EYE-VIORB-Sample
used as include directory in directory /home/neko/catkin_ws/src/MYNT-EYE-VIORB-Sample
CHOLMOD_LIBRARY
linked by target "ORB_SLAM2" in directory /home/neko/catkin_ws/src/MYNT-EYE-VIORB-Sample
-- Configuring incomplete, errors occurred!
See also "/home/neko/catkin_ws/src/MYNT-EYE-VIORB-Sample/build/CMakeFiles/CMakeOutput.log".
make: *** 没有指明目标并且找不到 makefile。 停止。
以及
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../MYNT_VIO'。 停止。
make[2]: *** 正在等待未完成的任务....
make[2]: *** No rule to make target '../../../../lib/libORB_SLAM2.so', needed by '../VIO'。 停止。
make[2]: *** 正在等待未完成的任务....
[ 16%] Building CXX object CMakeFiles/VIO.dir/src/ros_vio.cc.o
[ 33%] Building CXX object CMakeFiles/MYNT_VIO.dir/src/MsgSync/MsgSynchronizer.cpp.o
[ 50%] Building CXX object CMakeFiles/MYNT_VIO.dir/src/mynt_vio.cc.o
[ 66%] Building CXX object CMakeFiles/VIO.dir/src/MsgSync/MsgSynchronizer.cpp.o
CMakeFiles/Makefile2:259: recipe for target 'CMakeFiles/VIO.dir/all' failed
make[1]: *** [CMakeFiles/VIO.dir/all] Error 2make[1]: *** 正在等待未完成的任务....
CMakeFiles/Makefile2:746: recipe for target 'CMakeFiles/MYNT_VIO.dir/all' failed
make[1]: *** [CMakeFiles/MYNT_VIO.dir/all] Error 2Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2Launch file in Examples/ROS/ORB_VIO/launch.
Modify the configuration file config/euroc.yaml
Run as: roslaunch ORB_VIO testeuroc.launch