Ask Your Question
0

Problem with basic tutorial

asked 2013-06-18 12:08:07 -0500

Pawel Bogdan gravatar image

Hi, I'm totally new in ROS and turtlebot 2. I followed tutorial, but I met some difficulties with basic tutorial about 3D Visualisation. I don't get any errors or even warnings, but RViz doesn't draw anything. I checked that in /scan I am getting messages:

header: seq: 335 stamp: secs: 1371592730 nsecs: 128651578 frame_id: /camera_depth_frame angle_min: -0.546698212624 angle_max: 0.546698212624 angle_increment: 0.00170843186788 time_increment: 0.0 scan_time: 0.0329999998212 range_min: 0.449999988079 range_max: 10.0 ranges: [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan ...

(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-06-18 21:43:55 -0500

Lucile gravatar image

This error has been reported many times yet. You should try to launch roslaunch openni_launch openni.launch depth_registration:=false instead of 3dsensor.launch. I bet you will have better results.

If not, then you might be struggling with a different problem.

I don't know exactly why, but it seems that depth_registration is not available on Turtlebot2's 32-bits laptop, and 3dsensor.launch set it to true by default. Some people switched to a 64-bits computer and said it worked better. I personally did follow this tutorial : igorbarbosa.com/articles/how-to-install-kin-in-linux-mint-12-ubuntu/ to reinstall the kinect on the 32-bits laptop and then upgraded the ROS packages again. It did solve the problem on my Turtlebot2.

But if you don't need registered topic, just edit 3sensor.launch and set depth_registration to false...

edit flag offensive delete link more

Comments

Thanks for help! Changes in 3dsensor.launch fixed my problem.

Pawel Bogdan gravatar image Pawel Bogdan  ( 2013-06-19 00:36:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-06-18 12:08:07 -0500

Seen: 67 times

Last updated: Jun 18 '13