- getAddress() - Method in enum ch.hevs.kart.KartControlRegister
-
Returns the address of the register in the kart's memory.
- getAddress() - Method in enum ch.hevs.kart.KartStatusRegister
-
Returns the actual address of the status register in the Kart's register memory.
- getBatteryLevel() - Method in class ch.hevs.kart.Kart
-
Returns the battery level from 0.0 (empty) to 1.0 (full).
- getControlRegisterSigned(KartControlRegister) - Method in class ch.hevs.kart.Kart
-
Returns the actual value of the control register.
- getControlRegisterUnsigned(KartControlRegister) - Method in class ch.hevs.kart.Kart
-
Returns the actual value of the control register.
- getDriveSpeed() - Method in class ch.hevs.kart.Kart
-
Returns the actual absolute drive speed (throttle) in the range [-15, 15].
- getDriveSpeedNormalized() - Method in class ch.hevs.kart.Kart
-
Returns the actual normalized drive speed (throttle) in the range [-1.0, 1.0].
- 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.
- getLed(int) - Method in class 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.
- getStatusRegisterSigned(KartStatusRegister) - Method in class ch.hevs.kart.Kart
-
Returns the actual value of the status register.
- getStatusRegisterUnsigned(KartStatusRegister) - Method in class ch.hevs.kart.Kart
-
Returns the actual value of the status register.
- getSteeringControlPosition() - Method in class ch.hevs.kart.Kart
-
Returns the actual absolute steering control position.
- getSteeringControlPositionNormalized() - Method in class ch.hevs.kart.Kart
-
Returns the actual normalized steering control position.
- getSteeringPosition() - Method in class 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 class ch.hevs.kart.Kart
-
Returns the actual normalized steering position (not the set point) in the range [-1.0, 1.0].
- save(String, Context) - Method in class ch.hevs.kart.KartSequence
-
Saves the sequence as XML file inside the application's private data location.
- save(String, Activity) - Method in class ch.hevs.kart.KartSetup
-
Saves the kart settings under the given identifier.
- 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.
- sequenceCompleted(Kart) - Method in interface ch.hevs.kart.KartListener
-
- 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.
- setControlRegister(KartControlRegister, int) - Method in class ch.hevs.kart.Kart
-
Sets the given control register to the given value.
- setDriveSpeed(int) - Method in class ch.hevs.kart.Kart
-
Sets the drive speed (throttle) to the given absolute value.
- setDriveSpeedNormalized(float) - Method in class 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.
- setHwSetting(KartHardwareSettings) - Method in class ch.hevs.kart.KartSetup
-
Sets the given hardware setting flag.
- setLed(int, boolean) - Method in class ch.hevs.kart.Kart
-
Sets the LED or digital output at the give index [0,3] to the given value (true=on, false=off).
- setOnSeekBarChangeListener(SeekBar.OnSeekBarChangeListener) - Method in class ch.hevs.kart.utils.VerticalSeekBar
-
- setOperand(short) - Method in class ch.hevs.kart.KartSequence.Instruction
-
Changes the operand (argument) of the instruction.
- setProgress(int) - Method in class ch.hevs.kart.utils.VerticalSeekBar
-
- setSteeringPosition(int) - Method in class ch.hevs.kart.Kart
-
Sets the steering position on the kart to the given absolute value.
- setSteeringPositionNormalized(float) - Method in class ch.hevs.kart.Kart
-
Sets the steering position on the kart to the given normalized value.
- setup() - Method in class ch.hevs.kart.Kart
-
Returns a reference to the kart setup.
- showKartSetupPopup() - 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.
- statusRegisterHasChanged(Kart, KartStatusRegister, int) - Method in interface ch.hevs.kart.KartStatusRegisterListener
-
This method is called by a
Kart
instance to which this listener has been registered for every register that
changed it's value.
- steer(int) - Method in class ch.hevs.kart.KartSequence.Builder
-
This instruction changes the steering to the given position.
- steeringCenterPosition(int) - Method in class ch.hevs.kart.KartSetup
-
Sets the steering motor central position.
- steeringEndSwitchAddress() - Method in class ch.hevs.kart.KartSetup
-
Returns the steering end switch address from which emulated end switch the data is considered by the steering FSM.
- steeringEndSwitchAddress(int) - Method in class ch.hevs.kart.KartSetup
-
Sets the steering end switch address from which emulated end switch the data is considered by the steering FSM.
- steeringMaxPosition() - Method in class ch.hevs.kart.KartSetup
-
Returns the maximal step count at the opposite site of the stepper end contact switch.
- steeringMaxPosition(int) - Method in class ch.hevs.kart.KartSetup
-
Sets the maximal step count of the steering motor.
- steeringPositionChanged(Kart, int, float) - Method in interface ch.hevs.kart.KartListener
-
Called by the kart whenever the actual steering position has changed.
- steeringPositionReachedChanged(Kart, boolean) - Method in interface ch.hevs.kart.KartListener
-
The steering system has changed its state.
- steeringStepPeriod() - Method in class ch.hevs.kart.KartSetup
-
Returns the steering motor driver step period.
- steeringStepPeriod(int) - Method in class ch.hevs.kart.KartSetup
-
Sets the steering motor driver step period.
- stop() - Method in class ch.hevs.kart.utils.Timer
-
Stops/cancels/pauses the pending timer.