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

About addStaticObservation function ?

asked 2015-03-26 07:20:05 -0500

assil gravatar image

updated 2015-03-27 14:04:59 -0500

Hi ROS developers,

I can't find any documentation or comments concerning the function

void costmap_2d::ObstacleLayer::addStaticObservation ( costmap_2d::Observation & obs, bool marking, bool clearing )

Can you tell me what's the role of this function ? is it to add a new obstacle to the costmap's obstacle layer ? and how and when can I use it ?

Waiting for your help.

Regards.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-03-28 18:12:52 -0500

David Lu gravatar image

This function primarily exists for testing purposes. For non-testing purposes, I would use the standard subscribers to add observations to your costmap.

edit flag offensive delete link more

Comments

Hi David, Thank you for your answer . Can you give me more details about the standard subscribers please ? I'm newbe in ROS and I need Help.

assil gravatar image assil  ( 2015-03-29 08:21:39 -0500 )edit

Rather than reading the source, I recommend you start here: http://wiki.ros.org/navigation/Tutorials

David Lu gravatar image David Lu  ( 2015-03-30 11:59:38 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-26 07:20:05 -0500

Seen: 400 times

Last updated: Mar 28 '15