from magnebot.orientation import Orientation
A convenient wrapper for combinations of OrientationMode
and TargetOrientation
.
This class is used to store and look up pre-calculated orientation parameters per pre-calculated position.
-
orientation_mode
The orientation mode. -
target_orientation
The target orientation.
Orientation(orientation_mode, target_orientation)
Parameter | Type | Default | Description |
---|---|---|---|
orientation_mode | OrientationMode | The orientation mode. | |
target_orientation | TargetOrientation | The target orientation. |