get_locations()
- 1 Minute to read
get_locations()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
get_locations()
Retrieve all saved locations in a specific map.
Reference
Arguments
Arguments | Type | Default value | |
---|---|---|---|
map_name | str | The requested map. |
Return
Dict
with zone name as key and Dict
with data of the zone as value.
Key | Type | Info |
---|---|---|
$location_name_0 | Dict | x: x position, y: y position. |
$location_name_1 | Dict | x: x position, y: y position. |
... | ... | ... |
$location_name_n | Dict | x: x position, y: y position. |
Exceptions
Exception | Condition |
---|---|
RayaNavNotLocated | The robot is not located on the map. |
RayaNavZonesNotFound | No zones found on the map. |
RayaNavUnkownError | An unknown error occurs. |
See the complete list of Raya Exceptions. |
Was this article helpful?