Package ch.hevs.kart

Class KartRegisters.V1.Control.SequenceInstructionFifo

java.lang.Object
ch.hevs.kart.KartRegisters.V1.Control.SequenceInstructionFifo
Enclosing class:
KartRegisters.V1.Control

public static final class KartRegisters.V1.Control.SequenceInstructionFifo extends Object

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!