At the moment, inertia is passed to state_equations as a SMatrix. However:
the state equations assume that some terms of the matrix are zero and do not consider them even if they are not: It is considered that the aircraft xb-zb plane is a plane of symmetry so that Ixy and Iyz cross-product of inertia are zero and will not be taken into account.
At the moment, inertia is passed to state_equations as a
SMatrix
. However:Both reasons suggest that it might be a good idea to create a struct like:
that could cache in its methods or store as fields
IxzS, xpq, gam, xqr...
and ensure that Ixz and Iyz are zero at construction time.