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

Auto speed depending on vision assistance toggle #310

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Rongrrz
Copy link
Contributor

@Rongrrz Rongrrz commented Apr 3, 2024

Why are we doing this?

Asana task URL:

Whats changing?

Questions/notes for reviewers

A better way would probably to just go into the drive to note command and check get the maximum speed every execution (so that we don't have to reboot every single time), but then like that's probably going to be affecting other things... or how about a command that extends off of that does that in every execution? Hmm.

How this was tested

  • unit tests added
  • tested on robot

@Rongrrz Rongrrz requested a review from a team as a code owner April 3, 2024 02:43
…tionCommand fork to determine our speed if not using vision?

Possible plan B?
@Rongrrz Rongrrz changed the title First attempt at auto speed depending on vision assistance Auto speed depending on vision assistance toggle Apr 3, 2024
@@ -54,6 +55,8 @@ public DriveSubsystem(PIDManagerFactory pidFactory, PropertyFactory pf,
pf.createPersistentProperty("Suggested Autonomous Maximum Speed", 3.0);
suggestedAutonomousExtremeSpeed =
pf.createPersistentProperty("Suggested Autonomous EXTREME Speed", 5.0);
Copy link
Contributor

Choose a reason for hiding this comment

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

⭐ ⭐ ⭐ there are actually 2 auto speeds (normal and extreme), and I think your override should impact both of them, so we'll want another property for the no vision extreme speed?

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