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.
Originally posted by Naman with karma: 1464 on 2015-04-22
This answer was ACCEPTED on the original site
Post score: 0
Original comments
Comment by assil on 2015-04-23:
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 ?
Comment by assil on 2015-04-23:
Is there other possibilities to share a costmap over network ?
Comment by Naman on 2015-04-23:
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/MultipleMachines