robot does change direction . we just need to print the duty cycle