is_in_zone()
  • 1 Minute to read

is_in_zone()


Article summary

is_in_zone()

Checks if the robot is inside a specific zone

Reference

Arguments

ArgumentsTypeDefault value
zone_namestringname of the zone

Return

Boolean - True if the robot is inside the zone.

Exceptions

ExceptionCondition
RayaNavMissingArgumentNo zone name is passed to the function or None or '' (empty string) is passed
RayaNavNoMapLoadedNo map is loaded.
RayaNavNotLocatedThe robot is not located on the map.
RayaNavUnkownErrorAn unknown error occurs.

Was this article helpful?