Optimal distribution of contact forces with inverse-dynamics control | Synapse