ADCS.helpers.plotting.animate_estimator module

ADCS.helpers.plotting.animate_estimator.animate_attitude(time, state_hist=None, est_state_hist=None, os_hist=None, boresight_goal_hist=None)[source]

Animate spacecraft attitude, estimated attitude, environment vectors, and boresight goals in 3D.

UPDATED boresight_goal_hist:
  • Nx3 legacy: [gx, gy, gz] (ECI) -> draw vector

  • Nx4 mixed:
    • [nan, gx, gy, gz] -> draw vector

    • [q0, q1, q2, q3] -> draw target body axes (Body->ECI)

Parameters:
  • time (ndarray)

  • state_hist (Sequence[State] | None)

  • est_state_hist (Sequence[State] | None)

  • os_hist (List | None)

  • boresight_goal_hist (ndarray | None)

Return type:

None