Real-time dynamics of soft and continuum robots based on Cosserat rod models | Synapse