getCameraCommands method

List<DriveCommand> getCameraCommands(
  1. GamepadState state
)

Gets all camera commands based on the gamepad state.

Implementation

List<DriveCommand> getCameraCommands(GamepadState state) => [
  DriveCommand(frontSwivel: frontSwivel),
  DriveCommand(frontTilt: frontTilt),
  DriveCommand(rearSwivel: rearSwivel),
  DriveCommand(rearTilt: rearTilt),
];