Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is there a standard "location" message type?

I would like to send our robot a location goal that can be given in any number of ways: a pose relative to a map, a set of GPS coordinates, or even just a name like "room 115". Is there already a standard ROS "location" message type that has all these fields included? My own working example is as follows:

Location.msg

# A location in the world
Header                          header
string                          name
string                          address
string                          building
string                          room
geometry_msgs/PoseStamped       pose
gps_common/GPSFix               gps
ar_track_alvar_msgs/AlvarMarker ar_marker

I then have a "location server node" that defines a service to accept a location message with some of these fields filled in and then fills in the rest from a predefined locations.yaml config file.

Thanks!
patrick