new EncoderMotor()
Extends
Members
-
protocol
-
getter of protocol
only encoder motor on board has read value type- Inherited From:
Methods
-
offsetAngle(angle)
-
set angle offset to last angle position
Parameters:
Name Type Description angle
Number [description]
Returns:
- Inherited From:
-
run() → {Object}
-
EncoderMotor run
Returns:
Object -the instance
- Inherited From:
-
setReverse() → {Object}
-
EncoderMotor run reversely
Returns:
Object -the instance
- Inherited From:
-
setStop() → {Instance}
-
Stop motor
Returns:
Instance -the motor instance
- Inherited From:
-
speed(speed) → {Instance}
-
Set speed to the motor
Parameters:
Name Type Description speed
Number Returns:
Instance -the motor instance
- Inherited From: