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

Alias of PilotAlreadyClosedError for code that prefers the *Exception suffix.

PilotNotReadyError class objects

class PilotNotReadyError(PilotException)

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

PilotConfigurationError class objects

class PilotConfigurationError(PilotException)

Raised when pilot configuration is invalid (e.g. bad wheelbase or motor setup).

PilotAlreadyReservedError class objects

class PilotAlreadyReservedError(PilotException)

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