REFERENCE_FRAME Class Reference

Lists possible types of position matrix used to store camera path and pose. More...

Static Functions

def from_string (str, name)
 Converts a string to the corresponding REFERENCE_FRAME enum value. More...
 

Detailed Description

Lists possible types of position matrix used to store camera path and pose.

Enumerator
WORLD The transform of sl.Pose will contain the motion with reference to the world frame (previously called sl.PATH).
CAMERA The transform of sl.Pose will contain the motion with reference to the previous camera frame (previously called sl.POSE).

Functions

◆ from_string()

def from_string (   str,
  name 
)
static

Converts a string to the corresponding REFERENCE_FRAME enum value.

Parameters
name: The string representation of the REFERENCE_FRAME enum value.
Returns
The corresponding REFERENCE_FRAME enum value. If the string does not match any REFERENCE_FRAME, REFERENCE_FRAME.LAST is returned.