Skip to content

Commit

Permalink
Added Reset Gyro Yaw button to Shuffleboard
Browse files Browse the repository at this point in the history
  • Loading branch information
yamamara committed Aug 15, 2024
1 parent 339b86b commit 49d2578
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/kotlin/com/team4099/robot2023/RobotContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ object RobotContainer {
.withSize(1, 1)
.withPosition(0, 0)
.withWidget(BuiltInWidgets.kCommand)

Shuffleboard.getTab("Commands")
.add("Reset Gyro Yaw", ResetGyroYawCommand(drivetrain))
.withSize(1, 1)
.withPosition(0, 1)
.withWidget(BuiltInWidgets.kCommand)
}

fun mapDefaultCommands() {
Expand Down

0 comments on commit 49d2578

Please sign in to comment.