From: Brian G. <br...@ge...> - 2008-01-14 16:59:31
|
On Dec 10, 2007, at 5:37 AM, H. S. Farahani wrote: > Dear all, > > I need to update the map in player map interface. For example I > have an occupancy grid and my robot moves and I have to update the > map. Is it possible to do it online? Yes, this is possible, by writing a driver that provides the 'map' interface. When the map is updated, publish a map info data message (subtype PLAYER_MAP_DATA_INFO) with the metadata for the new map. Then subscribers know that they should re-request the map. Not many parts of player will do the re-request automatically, so other enhancements may be necessary, depending on which planner, etc., you're using. brian. |