A general framework for cobot control | Synapse