Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractKartControlActivity - Class in ch.hevs.kart
Base activity for all kart control activities.
AbstractKartControlActivity() - Constructor for class ch.hevs.kart.AbstractKartControlActivity
 
ACTUAL_STEERING_ANGLE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.StepperMotor.SteeperHW
 
ActualAngle() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status.StepperMotor.ActualAngle
 
addInstruction(KartSequence.Instruction) - Method in class ch.hevs.kart.KartSequence
Adds the given instruction to the end of the sequence.
addInstruction(KartSequence.Instruction.OpCode, short) - Method in class ch.hevs.kart.KartSequence
Adds a new instruction with the given opcode and operand to the end of the sequence.
addKartListener(KartListener) - Method in interface ch.hevs.kart.Kart
Adds the passed kart listener to the kart.
addKartSequencerListener(KartSequencerListener) - Method in interface ch.hevs.kart.KartSequencer
Adds the passed kart sequencer listener to the kart.
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.DrivePwmPeriod
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.DriveSpeed
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.HardwareSettings
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.LEDs
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceControl
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SteeringEndSwitchAddress
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SteeringStepPeriod
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SteeringTargetPosition
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.UpdateInterval
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor1
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor2
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor3
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor4
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.BatteryVoltageLevel
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.DistanceSensor
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ExternalEndSwitchState
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.HallSensorCounter1
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.HallSensorCounter2
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor1
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor2
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor3
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor4
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.SequenceStatus
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.SteeringPosition
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.SteeringStatus
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Prescaler
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Speed
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED1
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED2
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED3
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED4
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED5
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED6
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED7
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED8
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Setup.HardwareSettings
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.StepperMotor.Prescaler
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.StepperMotor.TargetAngle
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Current
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Hall1
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Hall2
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.RangeFinder
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Voltage
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.StepperMotor.ActualAngle
 
ADDRESS - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.StepperMotor.SteeperHW
 
AmbientLightSensor1() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor1
 
AmbientLightSensor2() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor2
 
AmbientLightSensor3() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor3
 
AmbientLightSensor4() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor4
 
Animation - Class in ch.hevs.kart.utils
Support for simple animations that run in the background (without blocking the Android App's main thread).
Animation.Builder - Class in ch.hevs.kart.utils
Builder in order to construct animations comfortable.
Animation.ExclusiveRunner - Class in ch.hevs.kart.utils
The ExclusiveRunner class ensures that only exactly one animation is running at the same time in its context.
apply(KartSetup) - Method in interface ch.hevs.kart.KartSetup
Applies all parameters of the given Kart setup to this setup.
availableSequences(Context) - Static method in class ch.hevs.kart.KartSequence
Returns a list of the available kart sequence files.

B

batteryLevelChanged(Kart, double) - Method in interface ch.hevs.kart.KartListener
The battery level has changed.
batteryVoltageChanged(Kart, double) - Method in interface ch.hevs.kart.KartListener
The battery voltage has changed.
BatteryVoltageLevel() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.BatteryVoltageLevel
 
blinkLed(int, int) - Method in interface ch.hevs.kart.Kart
Blinks the LED/digital output at the given index with the given interval in milliseconds.
build() - Method in class ch.hevs.kart.KartSequence.Builder
Creates and returns the actual kart sequence.
build() - Method in class ch.hevs.kart.utils.Animation.Builder
Builds the animation.
Builder() - Static method in class ch.hevs.kart.KartSequence
Creates and returns a new Builder in order to construct a Kart sequence.
Builder(Kart) - Static method in class ch.hevs.kart.utils.Animation
Returns a new Animation.Builder instance that can be used to build custom LED/Kart animations.

C

cancel() - Method in class ch.hevs.kart.utils.Animation
Cancels the animation.
cancel() - Method in class ch.hevs.kart.utils.Animation.ExclusiveRunner
Cancels the actual animation that runs in the runner's context.
cancelRunningSequence() - Method in interface ch.hevs.kart.KartSequencer
Cancels the actually running sequence.
ch.hevs.kart - package ch.hevs.kart
Summer school 1: Kart
ch.hevs.kart.utils - package ch.hevs.kart.utils
Summer school : Kart
CLEAR_LED - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Turn the LEDs off according to the given mask.
clearHwSetting(KartHardwareSettings) - Method in interface ch.hevs.kart.KartSetup
Clears the given hardware setting flag.
connectionStatusChanged(Kart, boolean) - Method in interface ch.hevs.kart.KartListener
The connection status to the Kart has changed.
Control() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control
 
Control() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control
 
Current() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Current
 
CURRENT_INSTRUCTION_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.SequenceStatus
 
currentChanged(Kart, double) - Method in interface ch.hevs.kart.KartListener
Current has changed.

D

DCMotor() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.DCMotor
 
decreaseDriveSpeed() - Method in interface ch.hevs.kart.Kart
Decreases the drive speed (throttle) by the smallest possible amount.
DI_1_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_10_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_11_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_12_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_13_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_14_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_15_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_16_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_2_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_3_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_4_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_5_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_6_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_7_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_8_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DI_9_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
digitalInputChanged(Kart, int, boolean) - Method in interface ch.hevs.kart.KartListener
A digital input has changed.
DigitalInputs() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status.Sensors.DigitalInputs
 
DistanceSensor() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.DistanceSensor
 
drive(int) - Method in class ch.hevs.kart.KartSequence.Builder
This instruction changes the speed of the kart.
DRIVE_INVERT_DIRECTION_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.HardwareSettings
 
DRIVE_INVERT_DIRECTION_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Setup.HardwareSettings
 
DRIVE_LEDS - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Set digital output port to the passed value (4 lsb ar considered).
DriveInverseDirection - Enum constant in enum class ch.hevs.kart.KartHardwareSettings
If this option is set, the Kart inverses the drive motor direction.
DrivePwmPeriod() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control.DrivePwmPeriod
 
DriveSpeed() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control.DriveSpeed
 
during(int) - Method in class ch.hevs.kart.KartSequence.Builder
This instruction will leave the Kart in the exact same state for the given amount of milliseconds.

E

END - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
End of the sequence (Added by the builder automatically) and stops the sequence.
END_SWITCH_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.SteeringStatus
 
END_SWITCH_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.StepperMotor.SteeperHW
 
END_SWITCH_STATE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ExternalEndSwitchState
 
ExclusiveRunner() - Constructor for class ch.hevs.kart.utils.Animation.ExclusiveRunner
 
ExternalEndSwitchState() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.ExternalEndSwitchState
 

F

FROM_HZ(double) - Static method in class ch.hevs.kart.KartRegisters.V1.Control.DrivePwmPeriod
 
FROM_HZ(double) - Static method in class ch.hevs.kart.KartRegisters.V1.Control.SteeringStepPeriod
 
FROM_HZ(double) - Static method in class ch.hevs.kart.KartRegisters.V1.Control.UpdateInterval
 
FROM_HZ(double) - Static method in class ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Prescaler
 
FROM_HZ(double) - Static method in class ch.hevs.kart.KartRegisters.V2.Control.StepperMotor.Prescaler
 
FROM_MS(double) - Static method in class ch.hevs.kart.KartRegisters.V1.Control.UpdateInterval
 
fromString(String) - Static method in class ch.hevs.kart.KartSequence.Instruction
Tries to convert a string into an instruction.

G

getBatteryLevel() - Method in interface ch.hevs.kart.Kart
Returns the battery level from 0.0 (empty) to 1.0 (full).
getBatteryVoltage() - Method in interface ch.hevs.kart.Kart
Returns the battery voltage in volts [V].
getControlRegisterSigned(int) - Method in interface ch.hevs.kart.Kart
Returns the actual value of the control register.
getControlRegisterUnsigned(int) - Method in interface ch.hevs.kart.Kart
Returns the actual value of the control register.
getCurrent() - Method in interface ch.hevs.kart.Kart
Returns the current in amperes [A].
getDigitalInput(int) - Method in interface ch.hevs.kart.Kart
Returns the current state of the digital input bit at the given index [0..15].
getDriveMaxSpeed() - Method in interface ch.hevs.kart.KartSetup
Returns the absolute value of the maximal speed a kart is allowed to drive in both directions.
getDrivePwmFrequency() - Method in interface ch.hevs.kart.KartSetup
Returns the drive motor control block PWM frequency in Hz.
getDriveSpeed() - Method in interface ch.hevs.kart.Kart
Returns the actual absolute drive speed (throttle) in the range [-15, 15].
getDriveSpeedNormalized() - Method in interface ch.hevs.kart.Kart
Returns the actual normalized drive speed (throttle) in the range [-1.0, 1.0].
getHallSensorCount(int) - Method in interface ch.hevs.kart.Kart
Returns the current hall pulse count if the given hall sensor (1 or 2).
getHardwareSettings() - Method in interface ch.hevs.kart.KartSetup
Returns the Kart's actual hardware settings.
getInstruction(int) - Method in class ch.hevs.kart.KartSequence
Returns a reference to the instruction at the given index in order to modify the instruction or null if the index is outside the sequence bounds.
getLedState(int) - Method in interface ch.hevs.kart.Kart
Gets the status if the LED/digital output at the given index.
getOpCode() - Method in class ch.hevs.kart.KartSequence.Instruction
Returns the opcode (command) of the instruction.
getOperand() - Method in class ch.hevs.kart.KartSequence.Instruction
Returns the operand (argument) of the instruction.
getSequencer() - Method in interface ch.hevs.kart.Kart
Returns a KartSequencer object if the Kart supports playing sequences, otherwise it returns null.
getStatusRegisterSigned(int) - Method in interface ch.hevs.kart.Kart
Returns the actual value of the status register.
getStatusRegisterUnsigned(int) - Method in interface ch.hevs.kart.Kart
Returns the actual value of the status register.
getSteeringCenterPosition() - Method in interface ch.hevs.kart.KartSetup
 
getSteeringMaxPosition() - Method in interface ch.hevs.kart.KartSetup
Returns the maximal step count at the opposite site of the stepper end contact switch.
getSteeringPosition() - Method in interface ch.hevs.kart.Kart
Returns the actual absolute steering position (It is the actual position of the steering system, not the target value).
getSteeringPositionNormalized() - Method in interface ch.hevs.kart.Kart
Returns the actual normalized steering position (not the set point) in the range [-1.0, 1.0].
getSteeringStepFrequency() - Method in interface ch.hevs.kart.KartSetup
Returns the steering motor driver step frequency in Hz.
getSteeringTargetPosition() - Method in interface ch.hevs.kart.Kart
Returns the actual absolute steering target position.
getSteeringTargetPositionNormalized() - Method in interface ch.hevs.kart.Kart
Returns the actual normalized steering target position.
getSupportedKartModels() - Method in class ch.hevs.kart.AbstractKartControlActivity
The activity can specify which Kart model(s) (interfaces) it does support.
getUltrasonicRangerDistance() - Method in interface ch.hevs.kart.Kart
Returns the current distance measured by the ultrasonic ranger.
getUpdateInterval() - Method in interface ch.hevs.kart.KartSetup
Returns the update interval of the Kart in milliseconds.
GOTO_IF_REG_NZ - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Go to a given index in the sequence.

H

Hall1() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Hall1
 
Hall2() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Hall2
 
hallSensorCountChanged(Kart, int, int) - Method in interface ch.hevs.kart.KartListener
One hall pulse count has changed.
HallSensorCounter1() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.HallSensorCounter1
 
HallSensorCounter2() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.HallSensorCounter2
 
HardwareSettings() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control.HardwareSettings
 
HardwareSettings() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Setup.HardwareSettings
 
hexString(byte[]) - Static method in class ch.hevs.kart.utils.HexTools
Converts the data in the byte array to a hex string.
hexString(ByteBuffer) - Static method in class ch.hevs.kart.utils.HexTools
Converts the data in the byte buffer to a hex string.
HexTools - Class in ch.hevs.kart.utils
Allows to convert a byte buffer or byte array into a Hex string.
HexTools() - Constructor for class ch.hevs.kart.utils.HexTools
 

I

increaseDriveSpeed() - Method in interface ch.hevs.kart.Kart
Increases the drive speed (throttle) by the smallest possible amount.
insertInstruction(int, KartSequence.Instruction) - Method in class ch.hevs.kart.KartSequence
Adds the given instruction to the given index of the sequence.
insertInstruction(int, KartSequence.Instruction.OpCode, short) - Method in class ch.hevs.kart.KartSequence
Adds a new instruction with the given opcode and operand to the given index of the sequence.
Instruction(KartSequence.Instruction.OpCode, short) - Constructor for class ch.hevs.kart.KartSequence.Instruction
A complete kart instruction consisting of an opcode and an operand.
INSTRUCTION_OPCODE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
INSTRUCTION_PARAMETER_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
isHWSettingSet(KartHardwareSettings) - Method in interface ch.hevs.kart.KartSetup
Checks the given hardware setting flag.
isRunning() - Method in class ch.hevs.kart.utils.Animation
Returns true if the animation is actually running and false if not.
isSequenceRunning() - Method in interface ch.hevs.kart.KartSequencer
Returns true if a sequence is actually running (or downloaded) on the kart, false if no sequence is running.
isSteeringTargetPositionReached() - Method in interface ch.hevs.kart.Kart
Returns true if the kart has reached the target steering position, false otherwise.

J

jump(int) - Method in class ch.hevs.kart.KartSequence.Builder
This operation will jump to the instruction that is pointed by the operand.

K

kart - Variable in class ch.hevs.kart.AbstractKartControlActivity
The Kart object.
Kart - Interface in ch.hevs.kart
Kart interface.
KART_RESET_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.HardwareSettings
 
KART_RESET_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Setup.HardwareSettings
 
KartHardwareSettings - Enum Class in ch.hevs.kart
Kart hardware settings flags.
kartInitializationChanged(Kart, boolean) - Method in interface ch.hevs.kart.KartListener
The initialization status to the Kart has changed.
KartListener - Interface in ch.hevs.kart
 
KartRegisters - Class in ch.hevs.kart
 
KartRegisters() - Constructor for class ch.hevs.kart.KartRegisters
 
KartRegisters.V1 - Class in ch.hevs.kart
 
KartRegisters.V1.Control - Class in ch.hevs.kart
 
KartRegisters.V1.Control.DrivePwmPeriod - Class in ch.hevs.kart
The Drive PWM period as 16 bit unsigned integer (UINT16, 0..65535).
KartRegisters.V1.Control.DriveSpeed - Class in ch.hevs.kart
Drive motor speed as 5 bit signed integer (INT5, -15..15).
KartRegisters.V1.Control.HardwareSettings - Class in ch.hevs.kart
Hardware settings register.
KartRegisters.V1.Control.LEDs - Class in ch.hevs.kart
LED control register.
KartRegisters.V1.Control.SequenceControl - Class in ch.hevs.kart
Allows to control the sequence virtual machine on the kart.
KartRegisters.V1.Control.SequenceInstructionFifo - Class in ch.hevs.kart
Allows to upload a sequence to the kart's sequence player memory.
KartRegisters.V1.Control.SteeringEndSwitchAddress - Class in ch.hevs.kart
Specifies the address at which the end switch is read at bit 0 (if it isn't local).
KartRegisters.V1.Control.SteeringStepPeriod - Class in ch.hevs.kart
The Stepper (Steering) motor step period as 16 bit unsigned integer (UINT16).
KartRegisters.V1.Control.SteeringTargetPosition - Class in ch.hevs.kart
Steering target position as 16 bit unsigned (UINT16) register.
KartRegisters.V1.Control.UpdateInterval - Class in ch.hevs.kart
Update interval (from kart to App) in milliseconds.
KartRegisters.V1.Status - Class in ch.hevs.kart
 
KartRegisters.V1.Status.AmbientLightSensor1 - Class in ch.hevs.kart
Proximity sensor 1 ambient light measure.
KartRegisters.V1.Status.AmbientLightSensor2 - Class in ch.hevs.kart
Proximity sensor 2 ambient light measure.
KartRegisters.V1.Status.AmbientLightSensor3 - Class in ch.hevs.kart
Proximity sensor 3 ambient light measure.
KartRegisters.V1.Status.AmbientLightSensor4 - Class in ch.hevs.kart
Proximity sensor 4 ambient light measure.
KartRegisters.V1.Status.BatteryVoltageLevel - Class in ch.hevs.kart
ADC value of the battery voltage level measure.
KartRegisters.V1.Status.DistanceSensor - Class in ch.hevs.kart
Ultrasonic distance ranger value.
KartRegisters.V1.Status.ExternalEndSwitchState - Class in ch.hevs.kart
State of the external steering end switch.
KartRegisters.V1.Status.HallSensorCounter1 - Class in ch.hevs.kart
Hall sensor 1 pulse count.
KartRegisters.V1.Status.HallSensorCounter2 - Class in ch.hevs.kart
Hall sensor 2 pulse count.
KartRegisters.V1.Status.ProximitySensor1 - Class in ch.hevs.kart
Proximity sensor 1 value.
KartRegisters.V1.Status.ProximitySensor2 - Class in ch.hevs.kart
Proximity sensor 2 value.
KartRegisters.V1.Status.ProximitySensor3 - Class in ch.hevs.kart
Proximity sensor 3 value.
KartRegisters.V1.Status.ProximitySensor4 - Class in ch.hevs.kart
Proximity sensor 4 value.
KartRegisters.V1.Status.SequenceStatus - Class in ch.hevs.kart
Embedded sequence player status.
KartRegisters.V1.Status.SteeringPosition - Class in ch.hevs.kart
Actual steering position.
KartRegisters.V1.Status.SteeringStatus - Class in ch.hevs.kart
Steering FSM status.
KartRegisters.V2 - Class in ch.hevs.kart
 
KartRegisters.V2.Control - Class in ch.hevs.kart
 
KartRegisters.V2.Control.DCMotor - Class in ch.hevs.kart
 
KartRegisters.V2.Control.DCMotor.Prescaler - Class in ch.hevs.kart
The Drive PWM clock prescaler as 16 bit unsigned integer (UINT16, 0..65535).
KartRegisters.V2.Control.DCMotor.Speed - Class in ch.hevs.kart
Drive motor speed as 5 bit signed integer (INT5, -15..15).
KartRegisters.V2.Control.Sensors - Class in ch.hevs.kart
 
KartRegisters.V2.Control.Sensors.LED1 - Class in ch.hevs.kart
LED control register for LED 1.
KartRegisters.V2.Control.Sensors.LED2 - Class in ch.hevs.kart
LED control register for LED 2.
KartRegisters.V2.Control.Sensors.LED3 - Class in ch.hevs.kart
LED control register for LED 3.
KartRegisters.V2.Control.Sensors.LED4 - Class in ch.hevs.kart
LED control register for LED 4.
KartRegisters.V2.Control.Sensors.LED5 - Class in ch.hevs.kart
LED control register for LED 5.
KartRegisters.V2.Control.Sensors.LED6 - Class in ch.hevs.kart
LED control register for LED 6.
KartRegisters.V2.Control.Sensors.LED7 - Class in ch.hevs.kart
LED control register for LED 7.
KartRegisters.V2.Control.Sensors.LED8 - Class in ch.hevs.kart
LED control register for LED 8.
KartRegisters.V2.Control.Setup - Class in ch.hevs.kart
 
KartRegisters.V2.Control.Setup.HardwareSettings - Class in ch.hevs.kart
Hardware settings register.
KartRegisters.V2.Control.StepperMotor - Class in ch.hevs.kart
The Stepper (Steering) motor step clock prescaler as 16 bit unsigned integer (UINT16).
KartRegisters.V2.Control.StepperMotor.Prescaler - Class in ch.hevs.kart
 
KartRegisters.V2.Control.StepperMotor.TargetAngle - Class in ch.hevs.kart
Steering target angle (position) as 16 bit unsigned (UINT16) register.
KartRegisters.V2.Status - Class in ch.hevs.kart
 
KartRegisters.V2.Status.Sensors - Class in ch.hevs.kart
 
KartRegisters.V2.Status.Sensors.Current - Class in ch.hevs.kart
ADC value of the current measure.
KartRegisters.V2.Status.Sensors.DigitalInputs - Class in ch.hevs.kart
Digital input values.
KartRegisters.V2.Status.Sensors.Hall1 - Class in ch.hevs.kart
Hall sensor 1 pulse count.
KartRegisters.V2.Status.Sensors.Hall2 - Class in ch.hevs.kart
Hall sensor 2 pulse count.
KartRegisters.V2.Status.Sensors.RangeFinder - Class in ch.hevs.kart
Ultrasonic distance ranger value.
KartRegisters.V2.Status.Sensors.Voltage - Class in ch.hevs.kart
ADC value of the battery voltage level measure.
KartRegisters.V2.Status.StepperMotor - Class in ch.hevs.kart
 
KartRegisters.V2.Status.StepperMotor.ActualAngle - Class in ch.hevs.kart
Actual steering angle (position).
KartRegisters.V2.Status.StepperMotor.SteeperHW - Class in ch.hevs.kart
Steering FSM status.
KartSequence - Class in ch.hevs.kart
A KartSequence is a step-by-step sequence of commands that can be uploaded to a Kart.
KartSequence() - Constructor for class ch.hevs.kart.KartSequence
 
KartSequence.Builder - Class in ch.hevs.kart
Builder which has to be used in order to construct new KartSequences.
KartSequence.Instruction - Class in ch.hevs.kart
Instruction class, represents a single instruction (opcode + operand).
KartSequence.Instruction.OpCode - Enum Class in ch.hevs.kart
Enumerates the opcodes actually supported by the Kart's sequencer vm.
KartSequencer - Interface in ch.hevs.kart
Sequencer interface.
KartSequencerListener - Interface in ch.hevs.kart
 
KartSetup - Interface in ch.hevs.kart
Kart setup interface

L

LED_1_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.LEDs
 
LED_2_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.LEDs
 
LED_3_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.LEDs
 
LED_4_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.LEDs
 
LED_BLINK_PERIOD_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED1
 
LED_BLINK_PERIOD_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED2
 
LED_BLINK_PERIOD_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED3
 
LED_BLINK_PERIOD_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED4
 
LED_BLINK_PERIOD_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED5
 
LED_BLINK_PERIOD_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED6
 
LED_BLINK_PERIOD_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED7
 
LED_BLINK_PERIOD_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED8
 
LED_STATE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED1
 
LED_STATE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED2
 
LED_STATE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED3
 
LED_STATE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED4
 
LED_STATE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED5
 
LED_STATE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED6
 
LED_STATE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED7
 
LED_STATE_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED8
 
LED1() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED1
 
LED2() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED2
 
LED3() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED3
 
LED4() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED4
 
LED5() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED5
 
LED6() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED6
 
LED7() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED7
 
LED8() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Sensors.LED8
 
ledOff(int) - Method in class ch.hevs.kart.KartSequence.Builder
This instruction will turn the LED at the given index (0..3) off or generally spoken, the digital output will be deactivated.
ledOff(int) - Method in class ch.hevs.kart.utils.Animation.Builder
Turns the LED or digital output on the Kart at the given index off.
ledOn(int) - Method in class ch.hevs.kart.KartSequence.Builder
This instruction will turn the LED at the given index (0..3) on or generally spoken, the digital output will be activated.
ledOn(int) - Method in class ch.hevs.kart.utils.Animation.Builder
Turns the LED or digital output on the Kart at the given index on.
LEDs() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control.LEDs
 
limit(T, T, T) - Static method in class ch.hevs.kart.utils.Limits
Generic limit function.
Limits - Class in ch.hevs.kart.utils
Offers static methods in order to limit values to a given range.
Limits() - Constructor for class ch.hevs.kart.utils.Limits
 
load(String, Activity) - Method in interface ch.hevs.kart.KartSetup
Loads the kart settings from the given name.
load(String, Context) - Static method in class ch.hevs.kart.KartSequence
Tries to load a kart sequence from the given XML file.
loadFromBundle(Bundle) - Static method in class ch.hevs.kart.KartSequence
Tries to load a kart sequence from the given bundle.
loop() - Method in class ch.hevs.kart.utils.Animation
Starts the animation and executes the animation in a loop infinitely.
loop(Animation) - Method in class ch.hevs.kart.utils.Animation.ExclusiveRunner
Starts the animation and executes the animation in a loop infinitely.

M

MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.DrivePwmPeriod
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.DriveSpeed
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SteeringEndSwitchAddress
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SteeringStepPeriod
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SteeringTargetPosition
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.UpdateInterval
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor1
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor2
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor3
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor4
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.BatteryVoltageLevel
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.DistanceSensor
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.HallSensorCounter1
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.HallSensorCounter2
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor1
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor2
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor3
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor4
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.SteeringPosition
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Prescaler
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Speed
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.StepperMotor.Prescaler
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.StepperMotor.TargetAngle
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Current
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Hall1
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Hall2
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.RangeFinder
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Voltage
 
MAX - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.StepperMotor.ActualAngle
 
message(Kart, String) - Method in interface ch.hevs.kart.KartListener
The kart has a message to display, most of the time this are cryptic messages just for developers, but they might be helpful to display during development...
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.DrivePwmPeriod
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.DriveSpeed
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SteeringEndSwitchAddress
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SteeringStepPeriod
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SteeringTargetPosition
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.UpdateInterval
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor1
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor2
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor3
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.AmbientLightSensor4
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.BatteryVoltageLevel
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.DistanceSensor
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.HallSensorCounter1
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.HallSensorCounter2
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor1
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor2
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor3
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor4
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.SteeringPosition
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Prescaler
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Speed
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.StepperMotor.Prescaler
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.StepperMotor.TargetAngle
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Current
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Hall1
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Hall2
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.RangeFinder
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Voltage
 
MIN - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.StepperMotor.ActualAngle
 
MOD_REGISTER_OPERAND_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
MOD_REGISTER_OPERATION_ADD - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
MOD_REGISTER_OPERATION_SET - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
MOD_REGISTER_OPERATION_SUB - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
MODEL_NUMBER - Static variable in class ch.hevs.kart.KartRegisters.V1
Model number of the first Kart model (1).
MODEL_NUMBER - Static variable in class ch.hevs.kart.KartRegisters.V2
Model number of the second Kart model introduced 2022 (2).
MODIFY_REGISTER - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Modifies the register according to the given sub-opcode and and operand.

N

nop() - Method in class ch.hevs.kart.KartSequence.Builder
This instruction does nothing.
NOP - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
NOP.

O

onCreate(Bundle) - Method in class ch.hevs.kart.AbstractKartControlActivity
 
onPause() - Method in class ch.hevs.kart.AbstractKartControlActivity
 
onResume() - Method in class ch.hevs.kart.AbstractKartControlActivity
 
onTimeout() - Method in class ch.hevs.kart.utils.Timer
This method will be called either once after the specified delay or periodically whenever the timer expires.
OPCODE_DRIVE_DISTANCE - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
OPCODE_DRIVE_PERIOD - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
OPCODE_END - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
OPCODE_GOTO - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
OPCODE_LED_OFF - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
OPCODE_LED_ON - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
OPCODE_LEDS_SET - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
OPCODE_MOD_REGISTER - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
OPCODE_NOP - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
OPCODE_SET_ANGLE - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
OPCODE_SET_SPEED - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
outputs(int) - Method in class ch.hevs.kart.KartSequence.Builder
This instruction sets the four LED outputs to the values of the four least significant bytes of the given value.

P

perform(Runnable) - Method in class ch.hevs.kart.utils.Animation.Builder
Performs a custom action that can be passed as Runnable implementation to the builder method call.
POSITION_REACHED_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.SteeringStatus
 
POSITION_REACHED_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Status.StepperMotor.SteeperHW
 
Prescaler() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Prescaler
 
Prescaler() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.StepperMotor.Prescaler
 
ProximitySensor1() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor1
 
ProximitySensor2() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor2
 
ProximitySensor3() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor3
 
ProximitySensor4() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.ProximitySensor4
 

R

RangeFinder() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status.Sensors.RangeFinder
 
ready() - Method in class ch.hevs.kart.utils.Timer
If this method returns true, it is save to schedule the timer.
removeInstruction(int) - Method in class ch.hevs.kart.KartSequence
Removes the instruction at the given index from the sequence.
removeKartListener(KartListener) - Method in interface ch.hevs.kart.Kart
Removes the kart listener.
removeKartSequencerListener(KartSequencerListener) - Method in interface ch.hevs.kart.KartSequencer
Removes the kart sequencer listener.
requestFullscreen() - Method in class ch.hevs.kart.AbstractKartControlActivity
Shows the activity fullscreen - without the soft buttons displayed.
reset() - Method in interface ch.hevs.kart.Kart
Resets the kart.
RESET_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceControl
 
run() - Method in class ch.hevs.kart.utils.Animation
Starts the animation and executes the animation exactly once.
run(KartSequence) - Method in interface ch.hevs.kart.KartSequencer
Uploads the sequence to the kart's sequence player and starts it.
run(Animation) - Method in class ch.hevs.kart.utils.Animation.ExclusiveRunner
Starts the animation passed by animation and executes the animation exactly once.
RUN_DISTANCE - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Wait for the passed amount of hall pulses on hall sensor 1.
RUN_FOR - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Wait for the passed amount of milliseconds before executing the next instruction.
RUN_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.SequenceControl
 
RUNNING_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Status.SequenceStatus
 

S

save(String, Activity) - Method in interface ch.hevs.kart.KartSetup
Saves the kart settings under the given identifier.
save(String, Context) - Method in class ch.hevs.kart.KartSequence
Saves the sequence as XML file inside the application's private data location.
saveToBundle(Bundle) - Method in class ch.hevs.kart.KartSequence
Saves the sequence to the given bundle.
scheduleOnce(int) - Method in class ch.hevs.kart.utils.Timer
Schedules the timer once to expire after the given delay.
schedulePeriodically(int) - Method in class ch.hevs.kart.utils.Timer
Schedules the timer continuously using the given interval.
Sensors() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Sensors
 
Sensors() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status.Sensors
 
sequenceCompleted(Kart) - Method in interface ch.hevs.kart.KartSequencerListener
A sequence that was started using KartSequencer.run(KartSequence) has been completed.
SequenceControl() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control.SequenceControl
 
SequenceInstructionFifo() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
 
sequenceSize() - Method in class ch.hevs.kart.KartSequence.Builder
Returns the number of instructions in the sequence that is actually under construction by the builder.
SequenceStatus() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.SequenceStatus
 
SET_ANGLE - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Set the steering position.
SET_LED - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Turn the LEDs on according to the given mask.
SET_SPEED - Enum constant in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Set the speed of the drive subsystem.
setControlRegister(int, int) - Method in interface ch.hevs.kart.Kart
Sets the control register to the given value.
setDriveMaxSpeed(int) - Method in interface ch.hevs.kart.KartSetup
Sets the absolute maximal speed a kart is allowed to drive in both directions.
setDrivePwmFrequency(double) - Method in interface ch.hevs.kart.KartSetup
Sets the drive motor control block PWM frequency in Hz.
setDriveSpeed(int) - Method in interface ch.hevs.kart.Kart
Sets the drive speed (throttle) to the given absolute value.
setDriveSpeedNormalized(double) - Method in interface ch.hevs.kart.Kart
Sets the drive speed (throttle) to the given normalized value.
setEnabledForAllSubviews(View, boolean) - Static method in class ch.hevs.kart.AbstractKartControlActivity
Sets the enabled flag on the given view and all its subviews.
setHardwareSettings(EnumSet<KartHardwareSettings>) - Method in interface ch.hevs.kart.KartSetup
Changes all of the hardware settings flags to the given values.
setHwSetting(KartHardwareSettings) - Method in interface ch.hevs.kart.KartSetup
Sets the given hardware setting flag.
setLedState(int, boolean) - Method in interface ch.hevs.kart.Kart
Sets the LED or digital output at the give index to the given value (true=on, false=off).
setOperand(short) - Method in class ch.hevs.kart.KartSequence.Instruction
Changes the operand (argument) of the instruction.
setSteeringCenterPosition(int) - Method in interface ch.hevs.kart.KartSetup
Sets the steering motor central position.
setSteeringMaxPosition(int) - Method in interface ch.hevs.kart.KartSetup
Sets the maximal step count of the steering motor.
setSteeringStepFrequency(double) - Method in interface ch.hevs.kart.KartSetup
Sets the steering motor driver step frequency in Hz.
setSteeringTargetPosition(int) - Method in interface ch.hevs.kart.Kart
Sets the steering target position on the kart to the given absolute value.
setSteeringTargetPositionNormalized(double) - Method in interface ch.hevs.kart.Kart
Sets the steering target position on the kart to the given normalized value.
setup() - Method in interface ch.hevs.kart.Kart
Returns a reference to the kart setup.
Setup() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.Setup
 
setUpdateInterval(int) - Method in interface ch.hevs.kart.KartSetup
Sets the update interval of the Kart in milliseconds.
showKartSetupDialog() - Method in class ch.hevs.kart.AbstractKartControlActivity
Shows a pop-up menu that enables the user to adjust kart setup and save the settings as default settings for the given kart.
size() - Method in class ch.hevs.kart.KartSequence
Returns the number of instructions in the sequence.
Speed() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.DCMotor.Speed
 
Status() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status
 
Status() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status
 
statusRegisterChanged(Kart, int, int) - Method in interface ch.hevs.kart.KartListener
This method is called by a Kart instance to which this listener has been registered for every register that changed it's value.
SteeperHW() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status.StepperMotor.SteeperHW
 
steer(int) - Method in class ch.hevs.kart.KartSequence.Builder
This instruction changes the steering to the given position.
STEERING_EMULATE_END_SWITCH_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.HardwareSettings
 
STEERING_EMULATE_END_SWITCH_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Setup.HardwareSettings
 
STEERING_INVERT_DIRECTION_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.HardwareSettings
 
STEERING_INVERT_DIRECTION_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Setup.HardwareSettings
 
STEERING_INVERT_END_POSITION_MASK - Static variable in class ch.hevs.kart.KartRegisters.V1.Control.HardwareSettings
 
STEERING_INVERT_END_POSITION_MASK - Static variable in class ch.hevs.kart.KartRegisters.V2.Control.Setup.HardwareSettings
 
SteeringEmulateEndContact - Enum constant in enum class ch.hevs.kart.KartHardwareSettings
If this option is set, the kart does not use the local steering end switch contact, it uses a simulated one.
SteeringEndSwitchAddress() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control.SteeringEndSwitchAddress
 
SteeringInverseDirection - Enum constant in enum class ch.hevs.kart.KartHardwareSettings
If this option is set, the Kart inverses the steering stepper motor direction.
SteeringInverseEndContactSide - Enum constant in enum class ch.hevs.kart.KartHardwareSettings
If this option is set, the Kart inverses the steering stepper motor counter direction as the end sensor is on the opposite position.
SteeringPosition() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.SteeringPosition
 
steeringPositionChanged(Kart, int) - Method in interface ch.hevs.kart.KartListener
Called by the kart whenever the actual steering position has changed.
steeringPositionChangedNormalized(Kart, double) - Method in interface ch.hevs.kart.KartListener
Called by the kart whenever the actual steering position has changed.
SteeringStatus() - Constructor for class ch.hevs.kart.KartRegisters.V1.Status.SteeringStatus
 
SteeringStepPeriod() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control.SteeringStepPeriod
 
SteeringTargetPosition() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control.SteeringTargetPosition
 
steeringTargetPositionReachedChanged(Kart, boolean) - Method in interface ch.hevs.kart.KartListener
The steering system has changed its state.
StepperMotor() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.StepperMotor
 
StepperMotor() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status.StepperMotor
 
stop() - Method in class ch.hevs.kart.utils.Timer
Stops/cancels/pauses the pending timer.

T

TargetAngle() - Constructor for class ch.hevs.kart.KartRegisters.V2.Control.StepperMotor.TargetAngle
 
Timer - Class in ch.hevs.kart.utils
Schedules one-shot or recurring tasks for execution.
Timer() - Constructor for class ch.hevs.kart.utils.Timer
 
TO_A(int) - Static method in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Current
 
TO_HZ(int) - Static method in class ch.hevs.kart.KartRegisters.V1.Control.DrivePwmPeriod
 
TO_HZ(int) - Static method in class ch.hevs.kart.KartRegisters.V1.Control.SteeringStepPeriod
 
TO_LEVEL(int) - Static method in class ch.hevs.kart.KartRegisters.V1.Status.BatteryVoltageLevel
 
TO_LEVEL(int) - Static method in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Voltage
 
TO_M(int) - Static method in class ch.hevs.kart.KartRegisters.V1.Status.DistanceSensor
 
TO_M(int) - Static method in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.RangeFinder
 
TO_MA(int) - Static method in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Current
 
TO_MM(int) - Static method in class ch.hevs.kart.KartRegisters.V1.Status.DistanceSensor
 
TO_MM(int) - Static method in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.RangeFinder
 
TO_V(int) - Static method in class ch.hevs.kart.KartRegisters.V1.Status.BatteryVoltageLevel
 
TO_V(int) - Static method in class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Voltage
 
toByte() - Method in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Converts the opcode to a byte that can be interpreted by the kart VM.
toggleLed(int) - Method in interface ch.hevs.kart.Kart
Toggles the LED/digital output at the given index.
toString() - Method in class ch.hevs.kart.KartSequence.Instruction
Returns a string representation of the instruction.
toXmlTag() - Method in class ch.hevs.kart.KartSequence.Instruction
Converts the instruction to an XML tag that can be embedded into XML files.
travel(int) - Method in class ch.hevs.kart.KartSequence.Builder
This instruction will leave the Kart in the exact same state until the given amount of pulses are counted on hall sensor 1.
turnSteeringTargetPositionBy(int) - Method in interface ch.hevs.kart.Kart
Turns the steering target position by the given absolute number of steps.
turnSteeringTargetPositionNormalizedBy(double) - Method in interface ch.hevs.kart.Kart
Turns the steering target position by the given normalized amount.

U

ultrasonicRangerDistanceChanged(Kart, double) - Method in interface ch.hevs.kart.KartListener
The distance measured by the ultrasonic ranger has changed.
until(Callable<Boolean>) - Method in class ch.hevs.kart.utils.Animation.Builder
Tests repeatedly the given condition until the condition returns true, then the animation is continued.
until(Callable<Boolean>, int) - Method in class ch.hevs.kart.utils.Animation.Builder
Tests repeatedly the given condition until the condition returns true, then the animation is continued.
UpdateInterval() - Constructor for class ch.hevs.kart.KartRegisters.V1.Control.UpdateInterval
 

V

V1() - Constructor for class ch.hevs.kart.KartRegisters.V1
 
V2() - Constructor for class ch.hevs.kart.KartRegisters.V2
 
valueOf(String) - Static method in enum class ch.hevs.kart.KartHardwareSettings
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class ch.hevs.kart.KartHardwareSettings
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class ch.hevs.kart.KartSequence.Instruction.OpCode
Returns an array containing the constants of this enum class, in the order they are declared.
Voltage() - Constructor for class ch.hevs.kart.KartRegisters.V2.Status.Sensors.Voltage
 

W

wait(int) - Method in class ch.hevs.kart.utils.Animation.Builder
Waits the given amount of milliseconds before the next step of the animation will be executed.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values