viam.components.pose_tracker

Submodules

Package Contents

Classes

PoseTracker

PoseTracker represents a physical pose or motion tracking device.

class viam.components.pose_tracker.PoseTracker(name: str)[source]

PoseTracker represents a physical pose or motion tracking device.

This acts as an abstract base class for any drivers representing specific pose tracker implementations. This cannot be used on its own. If the __init__() function is overridden, it must call the super().__init__() function.

SUBTYPE: Final
abstract async get_poses(body_names: List[str], *, extra: Optional[Mapping[str, Any]] = None, timeout: Optional[float] = None, **kwargs) Dict[str, viam.proto.common.PoseInFrame][source]

Returns the current pose of each body tracked by the pose tracker.

Parameters:

body_names (List[str]) – Names of the bodies whose poses are being requested. In the event this parameter is not supplied or is an empty list, all available poses are returned.