Skip to content

Commit

Permalink
Log OI state tutorial code
Browse files Browse the repository at this point in the history
  • Loading branch information
rcahoon committed Feb 9, 2024
1 parent d4a674a commit 22a1817
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/com/team766/robot/OI.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ public void run(final Context context) {

// Add driver controls here - make sure to take/release ownership
// of mechanisms when appropriate.
log("J0 A0: " + joystick0.getAxis(0) +
" J0 A1: " + joystick0.getAxis(1) +
" J1 A0: " + joystick1.getAxis(0) +
" J1 A1: " + joystick1.getAxis(1) +
" J0 B1: " + joystick0.getButton(1) +
" J0 B2: " + joystick0.getButton(2) +
" J0 B3: " + joystick0.getButton(3));
}
}
}

0 comments on commit 22a1817

Please sign in to comment.