Dc Motor
Create a new Ramping DcMotor object, wrapping a DcMotor object and returning a new object that can be used in place of the original. By default, the ramping function time is set to 0.1 seconds, with a maximum delta of 1.0 power units per second.
Parameters
motor
the DcMotor object to wrap. By default, the ramping function is enabled.
Create a new Ramping DcMotor object, wrapping a DcMotor object and returning a new object that can be used in place of the original.
Parameters
motor
the DcMotor object to wrap. By default, the ramping function is enabled.
smooth Time
the time it takes for the motor to reach the target power level
max Delta
the maximum change in power level per second