anki_vector.behavior
Behavior related classes and functions.
Behaviors represent a complex task which requires Vector’s internal logic to determine how long it will take. This may include combinations of animation, path planning or other functionality. Examples include drive_on_charger, set_lift_height, etc.
For commands such as go_to_pose, drive_on_charger and dock_with_cube, Vector uses path planning, which refers to the problem of navigating the robot from point A to B without collisions. Vector loads known obstacles from his map, creates a path to navigate around those objects, then starts following the path. If a new obstacle is found while following the path, a new plan may be created.
The BehaviorComponent
class in this module contains
functions for all the behaviors.
Module Attributes
|
The minimum angle the robot's head can be set to. |
|
The maximum angle the robot's head can be set to |
|
The lowest height-above-ground that lift can be moved to |
|
The largest height-above-ground that lift can be moved to |
Classes
|
Run behaviors on Vector |
|
A ReserveBehaviorControl object can be used to suppress the ordinary idle behaviors of the Robot and keep Vector still between SDK control instances. |