Nano入门教程硬件篇-安装kinect v1
Nano入门教程硬件篇-安装kinect v1
说明:
- 介绍如何在nano上安装kinect v1
步骤:
- 安装libfreenect驱动
git clone https://github.com/ros-drivers/libfreenect.git
cd libfreenect
mkdir build
cd build
cmake -L ..
make
sudo make install
- 安装ROS驱动
$ cd ~/catkin_ws/src
$ git clone https://github.com/ros-drivers/freenect_stack.git
$ cd ~/catkin_ws/
$ catkin_make
$ rospack profile
测试:
- 启动相机
$ roslaunch freenect_launch freenect.launch
- 查看图像
$ rqt_image_view
- 选择对应话题
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号