A cost function inspired by human arms movement for a bimanual robotic machining | Synapse