This update brings some exiting new features and bug fixes, as well as laying the groundwork for exiting updates to come...
New Features:
- View FMS Data: A little floating window, which you can customize the size and position of, will appear above the field with info about the robot's current mode, alliance, station, e-stop status, etc.
- See the command scheduler: If you publish the command scheduler with
SmartDashboard.putData(CommandScheduler.getInstance())
, GearGlimpse will now visualize it in a window similar to the FMS window! - Trajectory display: You can specify a NT key to read trajectory data from, and it will be displayed on the 3d field.
- Apriltag detection: Currently more of a demo then anything. It is a little unstable and doesn't serve any practical purpose yet, but it serves as groundwork for automatically aligning the GearGlimpse field with a real field or field elements.
Fixed Bugs:
- When scrolling away from a field in the config value and coming back, the value would appear as the old value until the settings menu is re-opened
- Sometimes, GearGlimpse would fail to receive NetworkTables data from topic's with an extremely low topic ID.
- When reconnecting to NetworkTables, old subscriptions would only be applied if the app was not connected at startup
- When closing the config view, old subscriptions were not properly cleaned up
Known Issues:
- The app is prone to crash while running the apriltag detector (especially if the user is also connected to networktables, displaying a robot, and doing other resource intensive activities such as screen recording)
Full Changelog: v0.0.2...v0.0.3