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

How to configure the correct laser scan height in ROS Hydro for turtlebot?

asked 2013-12-18 18:21:48 -0500

Brijendra Singh gravatar image

updated 2013-12-18 18:22:49 -0500

I'm trying to adjust the laser scan height of kinect in ROS Hydro. The default configuration is for the kobuki base, however I'm using the turtlebot with create base. What should be the scan height for turtlebot?

The parameter is param name="scan_height" value="10" in 3dsensor.launch file.

Please let me know the correct parameter value for scan_height to work with turtlebot.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-12-19 17:58:18 -0500

Daniel Stonier gravatar image

Hydro now uses a new package to generate the fake laser scan - depthimage_to_laserscane, built by the folks from willow. It calculates directly from the raw depthimage and bypasses the point cloud processing.

Since this changed, it's very likely some behaviour is a little different to what you saw in electric. I've no experience with the electric fake laserscan package, but I suggest you should probably do some experimentation to understand the behaviour of the new package correctly. Some comments:

1) scan height should be independant of the base used - it's the number of scan lines used in the image.

2) We did notice an interesting behaviour once with it at 10. Setting it >1 causes it to scan within an arc out the front of the robot. This can actually create surprising obstacle detection situations resulting in (surprisingly) less robust behaviour. At a distance, it can trigger on obstacles that aren't directly in a horizontal line out the front of the sensor, and up close, it can completely miss these obstacles.

You might like to try setting it at 1 to see if this fixes any spurious behaviour you have. We haven't really done extensive testing to bulletproof the characteristic behaviour of this software yet - it's just a good starting point for people to experiment.

edit flag offensive delete link more
0

answered 2013-12-18 20:52:24 -0500

jihoonl gravatar image

The default turtlebot parameter should work for both kobuki and create. So I think you don't need to change any parameter to use with create.

edit flag offensive delete link more

Comments

Thanks for the answer Jihoon. The problem that I'm facing is that we were earlier using ROS Electric and generated a map of the environment with turtlebot. Now we're trying to generate the map with ROS Hydro and using the same turtlebot stacks and settings, but it's not able to generate the map properly.

Brijendra Singh gravatar image Brijendra Singh  ( 2013-12-18 21:05:10 -0500 )edit

Could you describe the situation in detail? Does it scan higher?

jihoonl gravatar image jihoonl  ( 2013-12-18 21:20:55 -0500 )edit

When we are using the default parameters for gmapping in turtlebot_navigation stack(Hydro) , its scans are not properly detecting the obstacles, but in case of Ros electric, laserscans are properly aligned with the obstacles.In both the cases we are using default parameters.

Brijendra Singh gravatar image Brijendra Singh  ( 2013-12-18 21:39:51 -0500 )edit

As far as i know, kobuki is default robot with ROS Hydro, hence it may be the case that height of the kinect in kobuki and create base is different.

Brijendra Singh gravatar image Brijendra Singh  ( 2013-12-18 21:40:10 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-12-18 18:21:48 -0500

Seen: 1,259 times

Last updated: Dec 19 '13