Velocity and Acceleration using Ultrasonic Sensor

This is the Robolab program to make the robot move forward in a straight line at constant velocity and measure distance versus time using the ultrasonic sensor.

The data represents the robot moving at 20% of full power (lower curve) and 100% of full power (upper curve).  The middle curve represents the robot moving with increasing velocity by 20% every second from 0 to 100%.