Deadwheel
constructor(motor: DcMotor, clock: NanoClock)
Constructs a new Encoder instance.
Parameters
motor
the motor to wrap
clock
the clock to use
constructor(motor: DcMotor)
Constructs a new Encoder instance.
Parameters
motor
the motor to wrap
Constructs a new Encoder instance.
the motor to wrap
the clock to use
Constructs a new Encoder instance.
the motor to wrap