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

Update camera docs for new API #606

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Update camera docs for new API #606

merged 2 commits into from
Sep 3, 2024

Conversation

WillB97
Copy link
Contributor

@WillB97 WillB97 commented Aug 24, 2024

Documents the change implemented in srobo/sr-robot3#19

@WillB97 WillB97 requested review from RealOrangeOne and a team August 24, 2024 21:28
robot = Robot()

# Save a snapshot of what the camera is currently seeing
frame = robot.camera.capture(save="snapshot.jpg")
Copy link
Member

Choose a reason for hiding this comment

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

Suggestion: Is it worth adding a warning or something that images are overwritten, and potentially to use sensible naming to help understand which image is from when?

@WillB97 WillB97 merged commit a59e7d4 into main Sep 3, 2024
6 checks passed
@WillB97 WillB97 deleted the sr2025-api branch September 3, 2024 10:34
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.

3 participants