Put trajectory playback inside PrimitiveRobot