Skip to content

brian.pilot

brian

PilotException class objects

class PilotException(Exception)

Base exception for pilot operations.

PilotAlreadyClosedError class objects

class PilotAlreadyClosedError(PilotException)

Raised when trying to operate on a closed Pilot instance.

PilotAlreadyClosedException class objects

PilotAlreadyClosedException = PilotAlreadyClosedError

Backwards-/ergonomics-friendly alias: some codebases prefer an Exception suffix.

PilotNotReadyError class objects

class PilotNotReadyError(PilotException)

Raised when trying to operate the pilot and it is not ready (for example motors not ready).

PilotConfigurationError class objects

class PilotConfigurationError(PilotException)

Raised when pilot configuration is invalid (for example bad wheelbase or motor setup).

PilotAlreadyReservedError class objects

class PilotAlreadyReservedError(PilotException)

Raised when trying to create a pilot while PilotSync ownership is already reserved.