Repository navigation
Replace the AdvantageScope layout with a fresh 2026 export - #48
Merged
Merged
Conversation
The shared layout should cover what every student uses, and swerve is only the final, optional Advanced challenge. That challenge already walks students through building a Swerve tab themselves. The tab was also broken. It read RealOutputs/DriveSubsystem/CurrentSwerveState and .../DesiredSwerveState, but the swerve code logs from SwerveDriveSubsystem (DriveSubsystem is the tank drive) and records DesiredSwerveStates, plural, so it never showed any data. The tab sat after the default selected tab (index 2, "3d view"), so removing it does not change which tab opens first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sidebar.expanded records which folders were open in AdvantageScope's sidebar when the layout was exported. This one was exported from a 2025 competition robot session, so 82 of its 89 entries named subsystems XbotEdu doesn't have: elevator, coral and algae arms, AprilTag vision, a filter subsystem, and the competition robot's swerve modules. Kept the 7 that apply to the drive challenges: PoseSubsystem, the scheduler (which the Table tab reads), the Simulator folder (LinearEngine logs Simulator/LinearEngine/*), and the top-level AdvantageKit folders. The DriveSubsystem entries were removed too even though XbotEdu has a DriveSubsystem: they were swerve-module paths (RearRightDrive/SteeringEncoder) and PositionPID/HeadingPID from the competition drive, while XbotEdu's tank DriveSubsystem has two motors and no PIDs. Only the expanded list changes; the tabs are untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The committed layout was saved by AdvantageScope 4.1.1 (July 2025). Opened
in the WPILib 2026 build it triggers an "old layout" warning and only
partially imports: of its five tabs, only 2d top view survived, so the
Console, Joysticks and Table tabs never reached students.
This is a fresh export from AdvantageScope 26.0.0, set up and tested against
the XbotEdu simulator:
- 2d top view and 3D Field, both reading PoseSubsystem/Location
- the 2026 field ("FRC:2026 Field") instead of the 2025 Reefscape field
- sidebar state limited to drive-relevant folders
Supersedes the hand edits in the previous two commits on this branch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aschokking
added a commit
to Team488/Programming-Docs
that referenced
this pull request
Oct 10, 2026
XbotEdu's layout is being replaced with a fresh AdvantageScope 2026 export (Team488/XbotEdu#48). The old 4.1.1 file only partially imported in 2026 - just 2d top view came through - and the new one deliberately ships two tabs: 2d top view and 3D Field, both on the 2026 field. The tab table now lists just those two. The Joysticks, Table and Console rows are gone, along with the troubleshooting tip that relied on the Joysticks tab; it now points at the axis readout in the Robot Simulation window, which is always available. Adds a short tip on finding raw logged values from the sidebar instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces
AdvantageScope_layout.jsonwith a fresh export from AdvantageScope 2026, set up and tested against the XbotEdu simulator.Why
The committed layout was saved by AdvantageScope 4.1.1 (July 2025). Imported into the WPILib 2026 build, AdvantageScope warns that the layout is old and only partially loads it: of the file's five tabs, only 2d top view came through. Console, Joysticks and Table never reached students. The file also carried a lot of the 2025 competition robot (see below).
What's in the new layout
2025 Field (Welded)FRC:2026 FieldPoseSubsystem/LocationPoseSubsystem/Location, on both tabsBoth tabs read
PoseSubsystem/Location, which XbotEdu logs atPoseSubsystem.java:43, so the robot shows up in both views as soon as the sim runs.History on this branch
The first two commits hand-edited the old file. They removed a broken Swerve tab (it read
DriveSubsystem/...SwerveStatekeys the swerve code never writes) and trimmed 82 sidebar entries for 2025 robot subsystems XbotEdu doesn't have (elevator, arms, AprilTag vision). Testing showed the old format barely loads in 2026, so the third commit replaces the file outright with the fresh export. The final file has none of the 2025 leftovers and no swerve content.Squash-merging would give a single clean commit.
Testing (done)
Exported from a live AdvantageScope 2026 session connected to the XbotEdu simulator, with the robot showing in both views.
To double-check from a clean state: import
AdvantageScope_layout.json. There should be no "old layout" warning, and you should see 2d top view and 3D Field on the 2026 field.Related: Team488/Programming-Docs#21 updates the docs' simulator page to describe these two tabs. It should merge after this one.
🤖 Generated with Claude Code