Closed RachelLucyshyn closed 5 years ago
You can add these buttons into OI like this:
Config.java
// #### Fluid constants ####
...
public static final FluidConstant<String> NAME_OF_BUTTON = constant("button-name", XboxValue.XBOX_{letter}_BUTTON.NTString);
OI.java
public OI(Joystick driverStick, Joystick controlStick) {
...
new FluidButton(driver/controlStick, Config.NAME_OF_BUTTON).whenPressed(new CommandToRun(...));
}
Has this issue been resolved?
The driver controls have been added, resolving this.
RCVI needs to assign three buttons on driver controls to initiate 3 actions. We want the top three buttons that are part of the four button group on the right-hand side.
Assignments: DriverAssist with vision (rocket): Right (B) DriverAssist with vision (cargo ship): Left (X) DriverAssist with laser rangefinder: Top middle (Y)