Universal Robots TypeScript API - v10.12.0
    Preparing search index...

    Utility class for converting between different pose and rotation representations. Provides static methods to convert between coordinate systems (Z-up vs Y-up), rotation formats (Euler, quaternion, rotation vector), and position formats.

    Index

    Constructors

    Methods

    • Converts pose representation to controller-compatible format (Z-up coordinate system).

      Parameters

      Returns ControllerPose

      Controller pose representation with Z-up coordinates

    • Create Pose from ControllerPose

      Parameters

      Returns Pose

    • Converts rotation to ThreeJS Euler object.

      Parameters

      Returns Euler

      ThreeJS Euler object with Y-up orientation

    • Converts pose representation to ThreeJS-compatible format (Y-up coordinate system).

      Parameters

      Returns ThreeJsPose

      ThreeJS pose representation with Y-up coordinates

    • Converts rotation to ThreeJS Quaternion object.

      Parameters

      Returns Quaternion

      ThreeJS Quaternion object with Y-up orientation

    • Converts Y-up position to ThreeJS Vector3 object.

      Parameters

      Returns Vector3

      ThreeJS Vector3 object

    • Converts rotation representation to Y-up quaternion format.

      Parameters

      Returns YUpQuaternion

      Y-up quaternion representation

    • Converts position representation to Z-up position format.

      Parameters

      • value: PositionOrRosPosition

        The position representation to convert

      Returns ZUpPositionMeters

      Z-up position representation

    • Converts rotation representation to Z-up rotation vector format.

      Parameters

      Returns ZUpRotationVectorRadians

      Z-up rotation vector representation

    • Create ControllerPose for identity pose in a given frame

      Parameters

      • referenceFrame: string

      Returns ControllerPose

    • Create ThreeJsPose from Object3D in world frame

      Parameters

      • object: Object3D

      Returns ThreeJsPose

    • Create ControllerPose from Pose

      Parameters

      • pose: Pose
      • referenceFrame: string

      Returns ControllerPose

    • Create ControllerPose from ROS transform or pose

      Parameters

      • transform: IRosTypeGeometryMsgsPose | IRosTypeGeometryMsgsTransform
      • referenceFrame: string

      Returns ControllerPose

    • Create ThreeJsPose for identity pose in a given frame

      Parameters

      • referenceFrame: string

      Returns ThreeJsPose