High-order fully actuated system approaches: Part VIII. Optimal control with application in spacecraft attitude stabilisation | Synapse