Implement speed, max speed, and acceleration.