set Power Float
Deprecated
Sets the zero power behavior of the motor to FLOAT, then applies zero power to that motor.
Note that the change of the zero power behavior to FLOAT remains in effect even following the return of this method. This is a breaking change in behavior from previous releases of the SDK. Consider, for example, the following code sequence:
motor.setZeroPowerBehavior(ZeroPowerBehavior.BRAKE); // method not available in previous releases
motor.setPowerFloat();
motor.setPower(0.0);
Content copied to clipboard
Starting from this release, this sequence of code will leave the motor floating. Previously, the motor would have been left braked.
Deprecated
This method is deprecated in favor of direct use of setZeroPowerBehavior() and setPower().