Robotics StackExchange | Archived questions

How to use kinect-v1 in ros noetic?

I'm using ubuntu 20.04 and thus installed ros Noetic. I'm trying to use kinect which I've previously done in ros Indigo using the freenect package, but there's no freenect package for ros Noetic. I did the following:

sudo apt-get install libfreenect-dev and

sudo apt-get install ros-noetic-freenect-launch

The latter command returns E: Unable to locate package ros-noetic-freenect-launch

Is there a way to use kinect v1 in ros Noetic?

Asked by paul_shuvo on 2020-10-31 17:33:20 UTC

Comments

Answers

Yes there is. It is documented in the following page.

https://aibegins.net/2020/11/22/give-your-next-robot-3d-vision-kinect-v1-with-ros-noetic/

I belive you dont need the first part for a working ros stack. You may start with (for short): (you may need to install some dependencies)

cd ~/catkin_ws/src git clone https://github.com/ros-drivers/freenect_stack.git cd .. catkin_make source devel/setup.sh roslaunch freenect_launch freenect.launch depth_registration:=true

Then start rviz and configure with: ‘Global Options’: ‘Fixed Frame’ > ‘camera_link’. Add display ‘pointcloud2’ and set topic to ‘/camera/depth_registered/points’

Asked by inaciose on 2021-03-13 09:51:48 UTC

Comments