converted motor values to floats to fix PD errors