pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class Odometry

    Tracks a robot's pose by adding up its motion.

    Index
    • Creates an estimate starting at start, or at the origin facing along x.

      Parameters

      • Optionalstart: Pose | null

      Returns Odometry

    • Nudges the heading toward an absolute measurement by weight, from 0 to 1.

      Parameters

      • measured: number
      • weight: number

      Returns void

    • Adds a forward speed and yaw rate held for dt, and returns the new pose.

      Parameters

      • linear: number
      • angular: number
      • dt: number

      Returns Pose

    • Adds the distances two wheels rolled, through a differential drive, and returns the new pose.

      Parameters

      Returns Pose

    • Sets the estimate to a known pose.

      Parameters

      Returns void