navigate_to_location()
  • 1 Minute to read

navigate_to_location()


Article summary

Navigate to a specific location.

Reference

Arguments

Arguments

ArgumentsTypeDefault value
location_namestrThe name of the specified location.
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?