Robotics StackExchange | Archived questions

Useing Rviz from Kinect v2 (xbox one)

Hi, Please understand me If you don't understand my poor English.

I'm begginer about Ros and I hope to use SLAM with depth cam , Kinect v2(xbox one) .

I have done to install ' libfreenect2 '(from: https://github.com/code-iai/iai_kinect2) and checked

camera data( Ir, depth, rpg) on commanding ./Protonect cpu.

after than, I follow step

$roscore 

$rosrun kinect2_bridge kinect2_bridge     ; maybe  to connect kinect2 with ROS 

$rosrun rviz rviz    

and added checking list. but, There weren't any camera data in rviz .

I think I need to do more somthing like making kinect node ? ? to spend rviz? but anyway I don't know about this well.

What should I do?

Asked by Ros_junior on 2015-05-31 01:38:04 UTC

Comments

Hi, I tried using the kinect for xbox one. I have installed libfreenect2. But when I try to run Protonect, I get no device connected error. I guess it must be mostly due to usb issue. I am using usb 3,0. There are no usb errors generated after plugging in kinect on dmesg. wanted to know your inputs.

Asked by srik11 on 2016-01-17 21:40:56 UTC

Is it solved, i have the same problem ?

Asked by jesst on 2016-06-10 07:29:01 UTC

Kindly update the solution or answer the question by yourself. We depend upon each other to get the stuff done. Thank you.

Asked by pallavbakshi on 2017-01-23 11:58:39 UTC

Answers

did you check rostopics? kinect2/qhd/image_color

Asked by vishu2287 on 2015-10-10 00:48:19 UTC

Comments

$rosrun kinect2_bridge kinect2_bridge

That is only for testing you have a working setup, and for calibration.

To get pointclouds, run:

roslaunch kinect2_bridge kinect2_bridge.launch

You'll want to calibrate your kinect2 first though.

Asked by gvdhoorn on 2015-10-11 02:34:13 UTC

Comments

first, run:

roslaunch kinect2_bridge kinect2_bridge.launch

and then check the rviz configuration, add some widget such as image_view or pointcloud to your rviz, if the image or pointcloud can be showed, then check the others.

Asked by bluking on 2015-10-13 08:51:28 UTC

Comments