ubuntu16 小觅双目摄像头 MYNT-EYE-S-SDK安装

ubuntu16 小觅双目摄像头 MYNT-EYE-S-SDK安装_第1张图片
注:下载安装前保证opencv等已安装

Ubuntu安装

链接:https://github.com/slightech/MYNT-EYE-S-SDK
下载SDK解压右击打开终端

cd <sdk># 是指解压后文件名
make init
make install
#Building samples
make samples
#Building tools
make tools

#Run samples:
./samples/_output/bin/api/camera_a

ubuntu16 小觅双目摄像头 MYNT-EYE-S-SDK安装_第2张图片

ros安装

提前装好ros

cd 
make ros
#运行节点
source wrappers/ros/devel/setup.bash
roslaunch mynt_eye_ros_wrapper mynteye.launch  # 这个节点没有图像显示

运行节点,同时打开 RViz 预览:

source wrappers/ros/devel/setup.bash
roslaunch mynt_eye_ros_wrapper display.launch

ubuntu16 小觅双目摄像头 MYNT-EYE-S-SDK安装_第3张图片
获得当前工作设备的图像校准参数与imu校准参数:

cd 
./samples/_output/bin/tutorials/get_img_params     //获取相机标定参数
./samples/_output/bin/tutorials/get_imu_params    //获取IMU标定参数

你可能感兴趣的:(SLAM,#,VSLAM)