What are the conditions (robot on blocks or on the ground) and what do you see happen?
It doesn’t seem like -.1 is enough power to move a robot.
That sequence needs one more frame at the end that stops the drive by setting it to zero. The way it is now, the drive gets turned on, but is never turned off again.
You can try running in Debug and probe or display the value of the sonar output.
On the top left is a white arrow, click on it to run in debug
After the program finishes loading[LIST]
Bring up the Autonomous block diagram
Right-click on the wire output of the Sonar and select probe. You should get a new pop-up window ready to display the value of wires. You can add probes anywhere you like.
You can also add indicators to any wire or vi node and watch those on the Autonomous front panel
Put something in front of the sonar for it to see.
*]Enable Autonomous and watch the value in the probe window
[/LIST]