Advanced robot control