Fixing parameters.

Fixed some parameters with the sensor connected.
Also changed the fixed linear movement to a speed dependent.
\(*0*)/