-
Notifications
You must be signed in to change notification settings - Fork 7
Elastic layout implementation #150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
FollowPathCommand.warmupCommand().schedule(); | ||
} | ||
MatchTab.create(sensors, subsystems); | ||
WebServer.start(5800, Filesystem.getDeployDirectory().getPath()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed even in competition? Could potentially slow other operations, so perhaps debug only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Webserver is for Elastic to download remote layouts, which allows the same layout to be used across laptops. . The docs recommend putting this line in robot init, which is why it is put in robot.java. A possible solution to avoid overuse is to make an elastic button widget to start layout downloads instead of calling it every robot init.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, but if you need to press an elastic button to dowload the elastic layout, how will you get the elastic button..? @SnappleRamen
When Elastic 2025 opens, it will see the Shuffleboard API and load those tabs, requiring either manual deletion or using the "Full Reload" option instead of the "Overwrite" option when loading the layout to get rid of them.
Tasks: