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

    Class TwoLinkArm

    A planar arm of two links, with a closed-form inverse.

    Index
    • Creates an arm from its shoulder and elbow link lengths; each magnitude is used.

      Parameters

      • l1: number
      • l2: number

      Returns TwoLinkArm

    • Returns the joint angles that put the hand at a point, or null for a point out of reach, an arm with a link of no length, or a coordinate that is not a finite number.

      Parameters

      • x: number
      • y: number
      • elbow: Elbow

      Returns Joints | null

    • Returns where the hand is for a shoulder and an elbow angle, in radians.

      Parameters

      • shoulder: number
      • elbow: number

      Returns Point