Package ch.hevs.kart
Class KartRegisters.V2.Control.DCMotor.Speed
java.lang.Object
ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Speed
- Enclosing class:
KartRegisters.V2.Control.DCMotor
Drive motor speed as 5 bit signed integer (INT5, -15..15).
Controls the actual speed of the kart, whereas a value of 0 means not moving (stopped). Negative numbers from -1 to -15 will move the kart backwards, -15 is the highest speed backwards and -1 the slowest. Positive numbers from 1 to 15 will move the kart forwards, 1 is the slowest speed and 15 the highest.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ADDRESS
public static final int ADDRESS- See Also:
-
MIN
public static final int MIN- See Also:
-
MAX
public static final int MAX- See Also:
-
-
Constructor Details
-
Speed
public Speed()
-