@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface MotorType
MotorType
is an annotation with which a class or interface can be decorated in
order to define a new kind of motor that can be configured in the robot configuration user
interface.
Must be accompanied by DeviceProperties
annotation
Modifier and Type | Required Element and Description |
---|---|
double |
gearing
Returns the number of revolutions of the actual motor for each revolution of the output shaft
|
double |
maxRPM
Returns the rated maximum no-load RPM of the motor output shaft
|
double |
ticksPerRev
Returns the number of encoder ticks per revolution of the output shaft of
the gearmotor.
|
Modifier and Type | Optional Element and Description |
---|---|
double |
achieveableMaxRPMFraction
Returns the fraction of maxRPM which can be achieved in closed loop control
|
Rotation |
orientation
Indicates the direction of rotation in which encoder counts increase when looking down
the motor shaft towards the motor.
|
public abstract double ticksPerRev
public abstract double gearing
public abstract double maxRPM
public abstract double achieveableMaxRPMFraction
public abstract Rotation orientation