代码:https://github.com/loitor-vis/vi_sensor_sdk
1.C++ 示例程序的编译步骤
先确认你的系统已经成功安装了OpenCV.
[1]建工作空间/home/workspace/
[2]复制 /Loitor_VI_Sensor_SDK_V1.1/SDK 到 /home/workspace/
[3]终端进入管理员权限sudo -s
[4].进入SDK目录下,编译 cd /home/workspace/Loitor_VI_Sensor_SDK_V1.1/SDK
cd /home/workspace/Loitor_VI_Sensor_SDK_V1.1/SDK cmake . make
[5]执行Demo程序
./camtest2
[6]运行结果:
2.ROS Package的编译
[1]找到你的 catkin workspace ,并进入 /src 目录
[2]将/Loitor_VI_Sensor_SDK_V1.1/ROS/loitor_stereo_visensor 完整的复制到
/catkin_ws/src 下
[3]进入catkin_ws
[4]编译
catkin_make
原文:http://www.cnblogs.com/Jessica-jie/p/6582720.html