Simgui_layouts/. Each subfolder is a self-contained template: copy its simgui.json (and any image assets) to the project root before launching the simulator, and the GUI will load the layout automatically on startup.
Available layouts
How to use a layout
1
Pick a layout subfolder
Browse the
Simgui_layouts/ directory and choose the layout that matches what you want to test. For vision debugging, use Simgui_layouts/VisionSim/.2
Copy files to the project root
Copy The VisionSim layout ships with three image assets used as icons on the Field2d widget:
simgui.json and all image files from the chosen subfolder into the repository root (the same directory that contains build.gradle):3
Run the simulator
Launch the simulator — the GUI reads All widget positions, sizes, and data source paths defined in
simgui.json from the project root automatically:simgui.json are restored immediately when the GUI opens.The root-level
simgui.json is listed in .gitignore. Your local working copy will never be committed. The canonical, checked-in copies always live inside the Simgui_layouts/ subfolders — those are the templates you copy from. This means each developer can freely modify their local layout without affecting teammates.VisionSim layout
TheVisionSim layout is designed to let you verify the full PhotonVision → Limelight conversion pipeline at a glance. The Field2d widget is pre-wired to display:
Vision estimate objects disappear from the field automatically when no AprilTags are visible to that camera (the object’s poses list is cleared).
To stress-test vision correction, use the D-pad on the driver controller (active only in simulation):
- POV-right — injects 0.5 m translation drift and ±15° heading drift into the pose estimator. The ground-truth pose does not change; watch the estimated pose jump away from the ground truth and then converge back as vision corrections arrive.
- POV-left — cycles through four preset reset positions (auto start on correct alliance side, auto start on wrong alliance side, field origin on correct side, field origin on wrong side).