robokudo.types.tf

Transform and pose types for Robokudo.

This module provides types for representing poses, positions, and transforms in 3D space. It includes both timestamped and non-timestamped variants.

The module supports:

  • 6-DOF poses (translation + rotation)

  • 3-DOF positions (translation only)

  • Reference frame specifications

  • Timestamped variants

  • Parent-child frame relationships

Classes

Pose

6-DOF pose representation.

Position

3-DOF position representation.

StampedPose

Timestamped 6-DOF pose with reference frame.

StampedPosition

Timestamped 3-DOF position with reference frame.

StampedTransform

Timestamped transform between coordinate frames.

Module Contents

class robokudo.types.tf.Pose

Bases: robokudo.types.core.Type

6-DOF pose representation.

Represents a full 6-degree-of-freedom pose with: * 3D translation (x,y,z) * 3D rotation as quaternion (x,y,z,w)

rotation: typing_extensions.List[float] = []

Quaternion rotation of the pose in x,y,z,w order

translation: typing_extensions.List[float] = []

Translation of the pose in x,y,z order

class robokudo.types.tf.Position

Bases: robokudo.types.core.Type

3-DOF position representation.

Represents a 3-degree-of-freedom position with: * 3D translation (x,y,z)

translation: typing_extensions.List[float] = []

Translation in x,y,z order

class robokudo.types.tf.StampedPose

Bases: Pose

Timestamped 6-DOF pose with reference frame.

Extends Pose with: * Reference frame ID * Timestamp

frame: str = ''

Reference frame identifier

timestamp: int = 0

Time stamp in seconds

class robokudo.types.tf.StampedPosition

Bases: Position

Timestamped 3-DOF position with reference frame.

Extends Position with: * Reference frame ID * Timestamp

frame: str = ''

Reference frame identifier

timestamp: int = 0

Time stamp in seconds

class robokudo.types.tf.StampedTransform

Bases: StampedPose

Timestamped transform between coordinate frames.

Extends StampedPose with: * Child frame ID for specifying transform target

Used to represent coordinate transformations between frames.

child_frame: str = ''

Target frame identifier