See: Description
Interface | Description |
---|---|
KartListener |
Interface to implement if an object is interested in basic kart status changes.
|
KartStatusRegisterListener |
Low-level interface in order to get changes from the remote kart represented by a
Kart instance. |
Class | Description |
---|---|
AbstractKartControlActivity |
Basic activity for all kart control activities.
|
Kart |
Kart object.
|
KartSequence |
A KartSequence is a step-by-step sequence of commands that can be uploaded to a Kart.
|
KartSequence.Builder |
Builder which has to be used in order to construct new KartSequences.
|
KartSequence.Instruction |
Instruction class, represents a single instruction (opcode + operand).
|
KartSetup |
Groups all kart settings together and allows a convenient kart setup.
|
Enum | Description |
---|---|
KartControlRegister |
Enumeration used to identify the control registers of the Kart.
|
KartHardwareSettings |
Kart hardware settings flags.
|
KartSequence.Instruction.OpCode |
Enumerates the opcodes actually supported by the Kart'a sequencer vm.
|
KartStatusRegister |
Enumerates the different status registers that a kart is sending to the smart-phone.
|
HES-SO Valais // Wallis summer school project.
This is the main package in order to interact with the Kart.
Kart
is a virtual representation of the real Kart which can be queried for it's current state and environment and can be
manipulated in order to execute actions on the real Kart.
In order to get notified about changes on the state or environment of the Kart rather than to call
the getter methods periodically, you can register either a KartListener
in order to get notified whenever the steering position or
the battery level changes.
If you need more information like for example the actual Hall sensor counter value, implement the KartStatusRegisterListener
interface and register the object within the Kart instance in order to get notified about any register that changes on the Kart.
The KartSetup
class allows you to easily configure your Kart's hardware settings.