j5.boards.sr.v4.motor_board module¶
Classes for the SR v4 Motor Board.
-
class
j5.boards.sr.v4.motor_board.
MotorBoard
(serial: str, backend: j5.backends.backend.Backend, *, safe_state: Union[float, j5.components.motor.MotorSpecialState] = <MotorSpecialState.BRAKE: 1>)[source]¶ Bases:
j5.boards.board.Board
Student Robotics v4 Motor Board.
-
firmware_version
¶ Get the firmware version of the board.
Returns: Firmware version of the board.
-
motors
¶ Get the motors on this board.
Returns: List of motors attached to the board.
-
name
= 'Student Robotics v4 Motor Board'¶
-
serial_number
¶ Get the serial number of the board.
Returns: Serial number of the board.
-