navigate_to_zone()
  • 1 Minute to read

navigate_to_zone()


Article Summary

Navigate to a specific zone. By default, it will navigate to the center of the zone.
## Reference

Arguments

ArgumentsTypeDefault value
zone_namestrThe name of the specified zone.
to_centerboolTrueNavigate to the zone's center if True. If False, it will stop when he enters the zone area
callback_feedbackcallableNone
callback_finishcallableNone
waitboolFalseblocks the application until the robot finishes its navigation.

Callbacks

callback_feedback

keyType
statestr
distance_to_goaldouble
speeddouble

callback_finish

keyType
errorint
error_msgstr

Return

None

Exceptions

ExceptionCondition
RayaNavNotLocatedThe robot is not localized.
RayaNotMovingThe robot is already moving.

See the complete list of Raya Exceptions.


Was this article helpful?