This is where the simulator is magical. You can simulate the ultrasonic sensor (distance) and the line-follower sensor.