I am looking to do control for a swerve drive for FRC, and I would really like a linear state space representation so that I can formulate my MPC as a Quadratic Program. I understand that in order to do this I need to find an appropriate Koopman invariant subspace, ideally finite dimensional...