got new driver code working. added velocity and acceleration thresholds
to driver check.