public enum KartHardwareSettings extends java.lang.Enum<KartHardwareSettings>
Kart hardware settings flags.
This flags can be used to setup some fundamental hardware settings as for example the position of the steering end switch, inverting the steering or drive direction.
Enum Constant and Description |
---|
EmulateSteeringEndContact
If this option is set, the kart does not use the local steering end switch contact, it uses a simulated one.
|
InverseDriveMotorDirection
If this option is set, the Kart inverses the drive motor direction.
|
InverseSteeringDirection
If this option is set, the Kart inverses the steering stepper motor direction.
|
InverseSteeringEndContactPosition
If this option is set, the Kart inverses the steering stepper motor counter direction as the end sensor is on the opposite position.
|
RestartSlaves
Once this option is set, some of the slave FPGA's are reinitialized.
|
Modifier and Type | Method and Description |
---|---|
static KartHardwareSettings |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KartHardwareSettings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KartHardwareSettings InverseDriveMotorDirection
If this option is set, the Kart inverses the drive motor direction.
public static final KartHardwareSettings InverseSteeringDirection
If this option is set, the Kart inverses the steering stepper motor direction.
public static final KartHardwareSettings InverseSteeringEndContactPosition
If this option is set, the Kart inverses the steering stepper motor counter direction as the end sensor is on the opposite position.
public static final KartHardwareSettings EmulateSteeringEndContact
If this option is set, the kart does not use the local steering end switch contact, it uses a simulated one.
public static final KartHardwareSettings RestartSlaves
Once this option is set, some of the slave FPGA's are reinitialized.
public static KartHardwareSettings[] values()
for (KartHardwareSettings c : KartHardwareSettings.values()) System.out.println(c);
public static KartHardwareSettings valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null