ADCS.helpers.math_constants module¶
- class ADCS.helpers.math_constants.MathConstants[source]¶
Bases:
objectContainer for commonly used mathematical constants in ADCS computations.
This immutable dataclass provides standard vectors and quaternions that are frequently reused throughout the attitude determination and control codebase.
Defined Constants¶
unitvecs: Canonical Cartesian unit vectors\[\mathbf{e}_1 = [1, 0, 0]^T,\quad \mathbf{e}_2 = [0, 1, 0]^T,\quad \mathbf{e}_3 = [0, 0, 1]^T\]zeroquat: Identity quaternion representing zero rotation\[\mathbf{q}_0 = [1, 0, 0, 0]^T\]
- return:
Immutable namespace of mathematical constants.
- rtype:
MathConstants
- unitvecs = [array([1., 0., 0.]), array([0., 1., 0.]), array([0., 0., 1.])]¶
- zeroquat = array([1., 0., 0., 0.])¶