ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Avoiding low obstacles with turtlebot 2 and ASUS xtion pro camera

asked 2016-03-30 16:20:22 -0500

pgigioli gravatar image

updated 2016-03-31 09:19:49 -0500

I'm trying to do autonomous navigation with a turtlebot2 equipped with an ASUS xtion pro but it has a hard time seeing low obstacles. The camera is mounted at 0.43 meters and it only detects obstacles if they are around the same height. The robot can't even detect trash cans that are around 0.3 meters high. The result is that the robot continuously plans paths through these obstacles and ends up getting stuck.

In my costmap_common_params.yaml, I have max_obstacle_height set at 0.6 and min_obstacle_height set at 0.15. Any ideas?

EDIT:

Here is a view of the camera setup:

turtlebot

edit retag flag offensive close merge delete

Comments

Please add details about your setup, e.g. how do you interface the xtion with the costmap (depthimage_to_laserscan)? And how you mount the xtion.

Humpelstilzchen gravatar image Humpelstilzchen  ( 2016-03-31 03:26:14 -0500 )edit

I'm not sure what you mean by the interface between the xtion and the costmap but I'm using the default settings. I believe I'm using Depthimage_to_laserscan. I edited my question with a picture of the laser setup.

pgigioli gravatar image pgigioli  ( 2016-03-31 09:21:38 -0500 )edit
1

Make sure you are really using depthimage to laserscan. Your xtion is mounted very high and the default of the node is use only the middle of the picture, see 1.3 LaserScan. Note that the costmap is 2d.

Humpelstilzchen gravatar image Humpelstilzchen  ( 2016-04-01 03:05:33 -0500 )edit

I am in fact using depthimage_to_laserscan. I will consider lowering the camera as well. Does the costmap always have to be in 2D? Is this a limitation with the software or with the xtion?

pgigioli gravatar image pgigioli  ( 2016-04-01 11:43:45 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-04-01 12:16:56 -0500

Humpelstilzchen gravatar image

Just increase the scan_height of depthimage_to_laserscan. The default is 1px in the middle of the picture. Use rviz to display the /scan topic. Now increase scan_height until you see your trash can or whatever else you want to see in your scan output.

edit flag offensive delete link more

Comments

thanks this worked!

pgigioli gravatar image pgigioli  ( 2016-04-01 15:27:15 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-03-30 16:20:22 -0500

Seen: 562 times

Last updated: Apr 01 '16