Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 719 Bytes

orientation.md

File metadata and controls

29 lines (16 loc) · 719 Bytes

Orientation

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.


Fields

  • orientation_mode The orientation mode.

  • target_orientation The target orientation.


Functions

__init__

Orientation(orientation_mode, target_orientation)

Parameter Type Default Description
orientation_mode OrientationMode The orientation mode.
target_orientation TargetOrientation The target orientation.