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

Global costmap update !?

asked 2015-04-22 09:52:22 -0500

assil gravatar image

Hello,

I'd like to know if the global costmap in the ros navigation stack updates itself or not.

I'd like to know by my question if the first created global costmap using the static map provided by map server is the same as the global costmap in the end of the navigation process when the robot reaches the destination or not.

If they're not the same, can you explain to me how it updates itself please ?

Regards.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-22 10:21:18 -0500

Naman gravatar image

updated 2015-04-23 07:04:41 -0500

The global costmap subscribes to different sensor topics over ROS and uses the sensor data to update itself. It can either insert obstacles into the costmap or clear obstacles from the costmap. Please see http://wiki.ros.org/costmap_2d for details.

edit flag offensive delete link more

Comments

Thank you Naman for your answer, I have two PCs, one situated in a robot and the other in a desktop. I'd like to publish the global costmap of the navigation stack of the robot over network to the other PC. Can you tell if this is possible before beginning programming ?

assil gravatar image assil  ( 2015-04-23 16:18:01 -0500 )edit

Is there other possibilities to share a costmap over network ?

assil gravatar image assil  ( 2015-04-23 16:18:38 -0500 )edit

Yes, it is possible.. One way using ROS is to create a network with ROS Master running on one machine and other machine is using same ROS master and then you can publish or subscribe anything. Relevant links: http://wiki.ros.org/ROS/NetworkSetup , http://wiki.ros.org/ROS/Tutorials/Mul...

Naman gravatar image Naman  ( 2015-04-23 16:27:53 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-04-22 09:52:22 -0500

Seen: 2,237 times

Last updated: Apr 23 '15