Package ch.hevs.kart
Class KartRegisters.V1.Control.SequenceInstructionFifo
java.lang.Object
ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
- Enclosing class:
KartRegisters.V1.Control
Allows to upload a sequence to the kart's sequence player memory. Each write operation to this register will write a new line to the sequence memory.
You should never use the method Kart.setControlRegister(int, int)
to upload a sequence to the kart - the Kart class automatically
synchronizes this registers to the kart and might send the same sequence instruction multiple times. The Kart class has an API to upload
and run sequences: KartSequencer.run(KartSequence)
.
IMPORTANT: This feature is experimental and might not be implemented on all Karts!
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ADDRESS
public static final int ADDRESS- See Also:
-
INSTRUCTION_OPCODE_MASK
public static final int INSTRUCTION_OPCODE_MASK- See Also:
-
INSTRUCTION_PARAMETER_MASK
public static final int INSTRUCTION_PARAMETER_MASK- See Also:
-
OPCODE_NOP
public static final int OPCODE_NOP- See Also:
-
OPCODE_SET_SPEED
public static final int OPCODE_SET_SPEED- See Also:
-
OPCODE_SET_ANGLE
public static final int OPCODE_SET_ANGLE- See Also:
-
OPCODE_LEDS_SET
public static final int OPCODE_LEDS_SET- See Also:
-
OPCODE_LED_ON
public static final int OPCODE_LED_ON- See Also:
-
OPCODE_LED_OFF
public static final int OPCODE_LED_OFF- See Also:
-
OPCODE_DRIVE_DISTANCE
public static final int OPCODE_DRIVE_DISTANCE- See Also:
-
OPCODE_DRIVE_PERIOD
public static final int OPCODE_DRIVE_PERIOD- See Also:
-
OPCODE_MOD_REGISTER
public static final int OPCODE_MOD_REGISTER- See Also:
-
MOD_REGISTER_OPERATION_SET
public static final int MOD_REGISTER_OPERATION_SET- See Also:
-
MOD_REGISTER_OPERATION_ADD
public static final int MOD_REGISTER_OPERATION_ADD- See Also:
-
MOD_REGISTER_OPERATION_SUB
public static final int MOD_REGISTER_OPERATION_SUB- See Also:
-
MOD_REGISTER_OPERAND_MASK
public static final int MOD_REGISTER_OPERAND_MASK- See Also:
-
OPCODE_GOTO
public static final int OPCODE_GOTO- See Also:
-
OPCODE_END
public static final int OPCODE_END- See Also:
-
-
Constructor Details
-
SequenceInstructionFifo
public SequenceInstructionFifo()
-