Assist-as-Needed Control in Robotics