小觅SDK安装
Ubuntu SDK 源码安装
在 Ubuntu 14.04 Ubuntu 16.04 Ubuntu 18.04测试通过
1. 安装依赖
sudo apt-get install build-essential
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
安装opencv,如果已经安装,可以跳过
$ git clone https://github.com/opencv/opencv.git
$ cd opencv/
$ git checkout tags/3.4.1
$ mkdir _build
$ cd _build/
$ cmake \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=/usr/local \
\
-DWITH_CUDA=OFF \
\
-DBUILD_DOCS=OFF \
-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTS=OFF \
-DBUILD_PERF_TESTS=OFF \
..
$ make -j4
$ sudo make install
2. 下载源码并编译
sudo apt-get install git
git clone https://github.com/slightech/MYNT-EYE-S-SDK.git
make init
make install
make ros
make samples
make tools
3. 运行ROS节点
source wrappers/ros/devel/setup.bash
roslaunch mynteye_wrapper_d mynteye.launch # 这个节点没有图像显示