Robots that understand contextual commands