class documentation

class JogQueue(queue.Queue[JogCommand]): (source)

Constructor: JogQueue()

View In Hierarchy

A class queue for JogCommands. This always returns the most recent command.

Method __init__ Set up a queue with a max size of 1.
Method put Put the next command into the queue, bumping anything already there.
def __init__(self): (source)

Set up a queue with a max size of 1.

def put(self, item: JogCommand, block: bool = False, timeout: float | None = None): (source)

Put the next command into the queue, bumping anything already there.