Skip to content
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

Dont send targets or cal images to UI #1200

Merged
merged 10 commits into from
Feb 2, 2024

Conversation

mcm001
Copy link
Contributor

@mcm001 mcm001 commented Jan 27, 2024

Reduces bandwidth requirements by being much lazier about how much calibration data is sent to the UI.

Trying to export cal or settings over robot wifi still sucks and is super slow. I think a modal to show this during calibration export makes sense?

image

also adds warnings on export time
image
image

@mcm001
Copy link
Contributor Author

mcm001 commented Jan 27, 2024

Closes #1198

Run lint

Update UICameraCalibrationCoefficients.java

Update RequestHandler.java

asdf

fdas
@mcm001 mcm001 marked this pull request as ready for review January 27, 2024 14:48
@mcm001 mcm001 requested a review from a team as a code owner January 27, 2024 14:48
Copy link
Member

@srimanachanta srimanachanta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On systems with slow internet (FRC bandwidth limited radio) there are 1-3+ seconds of waiting for images to load which isn't ideal as people may think something isn't working. While the images are being fetched from the backend, the UI should show a loading symbol and a message as a placeholder until the fetch is complete and the correct image is shown.

@srimanachanta srimanachanta self-requested a review January 28, 2024 22:03
@mcm001 mcm001 merged commit 62112cd into PhotonVision:master Feb 2, 2024
23 checks passed
@mcm001 mcm001 deleted the dont-send-cal-snapshots branch February 2, 2024 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants