Change speed command to use floats