Code generation of algebraic quantities for robot controllers | Synapse