-
Notifications
You must be signed in to change notification settings - Fork 4
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
Full-Resolution Camera Downloads #331
base: master
Are you sure you want to change the base?
Conversation
a5b5ff9
to
a11c024
Compare
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.
Overall looks good, just a note that I don't think there's a point in adding a method to the camera stream task. We don't care if the stream has been opened or not, we just want to grab the latest frame from a given camera.
Also note that we should properly handle the case where the returned frame datapoint is empty.
This looks great, will merge once the corresponding MC pr has been tested and merged. |
1521299
to
00739b3
Compare
Didn't get to this during CIRC, Hutton can handle review and merging. |
Currently, clicking the download button will just download the client-side H264 compressed stream, which is fairly low quality. This PR adds the ability to request full-resolution jpg images from the rover, and if the camera is available, a base64 encoded image will be sent to mission control at a much higher resolution than the normal client-side video stream.
Related with huskyroboticsteam/mission-control#71