git clone https://github.com/OpenKinect/libfreenect
cd libfreenect
mkdir build
cd build
cmake -L .. # -L lists all the project options
make
sudo make install
cd catkin_ws/src/
git clone https://github.com/ros-drivers/freenect_stack.git
cd catkin_ws/
catkin_make
roslaunch freenect_launch freenect.launch # freenect是kinect的官方运行包
###可能出现Resource not found: rgbd_launch 安装sudo apt-get install ros-melodic-rgbd-launch
rosrun rqt_image_view rqt_image_view
kinect-v1 ROS ubuntu18.04
最新推荐文章于 2025-02-15 20:47:11 发布