is_in_zone()
- 1 Minute to read
is_in_zone()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
is_in_zone()
Checks if the robot is inside a specific zone
Reference
Arguments
Arguments | Type | Default value | |
---|---|---|---|
zone_name | string | name of the zone |
Return
Boolean
- True if the robot is inside the zone.
Exceptions
Exception | Condition |
---|---|
RayaNavMissingArgument | No zone name is passed to the function or None or '' (empty string) is passed |
RayaNavNoMapLoaded | No map is loaded. |
RayaNavNotLocated | The robot is not located on the map. |
RayaNavUnkownError | An unknown error occurs. |
Was this article helpful?