j5.boards.sr.v4.servo_board module

Classes for the SR v4 Servo Board.

class j5.boards.sr.v4.servo_board.ServoBoard(serial: str, backend: j5.backends.backend.Backend)[source]

Bases: j5.boards.board.Board

Student Robotics v4 Servo Board.

firmware_version

Get the firmware version of the board.

Returns:Firmware version of the board.
make_safe() → None[source]

Make this board safe.

It is safest to leave the servos where they are, so do nothing.

name = 'Student Robotics v4 Servo Board'
serial_number

Get the serial number of the board.

Returns:Serial number of the board.
servos

Get the servos on this board.

Returns:List of servos on the board.
static supported_components() → Set[Type[j5.components.component.Component]][source]

List the types of components supported by this board.

Returns:Set of components supported by the board.