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

Use limelight for snap #135

Closed
wants to merge 8 commits into from
Closed

Use limelight for snap #135

wants to merge 8 commits into from

Conversation

mvog2501
Copy link
Contributor

This lets us use the limelight to snap to targets. It does this simply by using the subsystem and updating every periodic that the snap button is pressed. Tested and worked in the sim with fake limelight angle return.

… the target

This fixes a bug where if the limelight was reading an angle greater than the snap tolerance, it would make it impossible to aim at cone posts. This fixes that.
I believe (but I can't be sure) that the x direction goes positive as the target is to the right
@lorenzogood
Copy link
Contributor

Does it in some way require drive?

@mvog2501 mvog2501 linked an issue Mar 10, 2023 that may be closed by this pull request
@mvog2501 mvog2501 added this to the La Crosse Release milestone Mar 10, 2023
@mvog2501 mvog2501 added the enhancement New feature or request label Mar 10, 2023
@mvog2501
Copy link
Contributor Author

Indirectly, yes, it requires drive.

@mvog2501
Copy link
Contributor Author

It's not a command but instead a subsystem feature.

@rmheuer rmheuer closed this Mar 17, 2023
@rmheuer rmheuer deleted the use_limelight_for_snap branch March 22, 2023 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aim at limelight target
3 participants