Human-robot collaboration by intention recognition using probabilistic state machines | Synapse