AutoMovie API
    Preparing search index...
    • The extrapolated centre of mass (XCoM) of Hof, Gazendam and Sinke (2005, "The condition for dynamic stability", J. Biomech. 38): the centre of mass plus its velocity over the inverted pendulum's eigenfrequency, x + v / ω0 with ω0 = sqrt(g / l) (frequency), where l is the pendulum length (Hof takes the leg length, pendulum).

      The scaled velocity is fresh, so the same ordered centre-plus-offset sums reuse it without another vector or any mutation of either input.

      Parameters

      • com: IAutoMovieVector3

        The centre of mass, world metres.

      • velocity: IAutoMovieVector3

        Its velocity, metres per second.

      • length: number

        The pendulum length, metres; positive.

      • gravity: number = AutoMovieGravity.STANDARD

        Gravitational acceleration, m/s²; standard gravity (AutoMovieGravity.STANDARD) when absent.

      Returns IAutoMovieVector3

      The extrapolated centre of mass, world metres.

      When the length or gravity is not positive.