Skip to content

Commit

Permalink
Add comment to example build.gradle explaining sim GUI config
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Jan 14, 2024
1 parent 0607cf3 commit 79b75e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example_projects/wpilib_build_file/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,13 @@ test {
}

// Simulation configuration (e.g. environment variables).
//
// The sim GUI is *disabled* by default to support running
// AdvantageKit log replay from the command line. Uncomment
// the second line to *enable* the sim GUI by default (this
// is the standard WPILib behavior).
wpi.sim.addGui()
// wpi.sim.addGui().defaultEnabled = true
wpi.sim.addDriverstation()

// Setting up my Jar File. In this case, adding all libraries into the main jar ('fat jar')
Expand Down

0 comments on commit 79b75e5

Please sign in to comment.