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

Add AxisCamera sample #103

Merged
merged 6 commits into from
Jan 8, 2024
Merged

Conversation

Suave101
Copy link
Contributor

@Suave101 Suave101 commented Jan 4, 2024

Addresses issue #49 Axis Camera Sample necessity! Could someone with a rio test the Axis Camera code because, I do not have a rio or an axis camera currently.

Added AxisCamera to tests
Wrote bulk of vision code
@Suave101 Suave101 changed the title Add axis camera sample Add AxisCamera sample Jan 4, 2024
# Get the Axis camera from CameraServer

camera = CameraServer.addAxisCamera("axis-camera.local")
# Set the resolution
Copy link
Member

Choose a reason for hiding this comment

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

Everything looks good, but can you associate the comments with the lines that they're with?

# Get the Axis camera from CameraServer
camera = CameraServer.addAxisCamera("axis-camera.local")

# Set the resolution
camera.setResolution(640, 480)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done with c62dc87

@virtuald
Copy link
Member

virtuald commented Jan 6, 2024

Please rebase and remove wpilib.run (see #106)

@virtuald virtuald merged commit 019de4c into robotpy:main Jan 8, 2024
16 of 17 checks passed
@Suave101 Suave101 deleted the add-AxisCamera-Sample branch January 8, 2024 22:52
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.

2 participants