minor restructuring of robot_continuous