Calling robot transitions in robot arm