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

Feature/drive to given note with bearing vision #293

Merged
merged 7 commits into from
Mar 31, 2024

Conversation

JohnGilb
Copy link
Contributor

Why are we doing this?

Updates our auto to use a new approach to vision using the center camera
Asana task URL:

Whats changing?

Questions/notes for reviewers

How this was tested

  • unit tests added
  • tested on robot

@JohnGilb JohnGilb requested a review from a team as a code owner March 31, 2024 01:01
Copy link
Contributor

@aschokking aschokking left a comment

Choose a reason for hiding this comment

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

I'll work on these edits

double terminalPower = approachPower * 0.5;
// If we are doing vision stuff, then we need to use robot-relative driving.
// When approaching dynamically, drive pretty fast and keep pointing at the note.
if (noteAcquisitionMode == NoteAcquisitionMode.VisionApproach) {
Copy link
Contributor

Choose a reason for hiding this comment

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

⭐ I wonder if we shouldn't drive too fast until the yaw error is small enough?

@JohnGilb JohnGilb merged commit 82061bf into main Mar 31, 2024
@JohnGilb JohnGilb deleted the feature/DriveToGivenNoteWithBearingVision branch March 31, 2024 17:20
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