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

Dev commands are bad #34

Open
14 of 23 tasks
FriedLongJohns opened this issue Mar 10, 2024 · 2 comments
Open
14 of 23 tasks

Dev commands are bad #34

FriedLongJohns opened this issue Mar 10, 2024 · 2 comments

Comments

@FriedLongJohns
Copy link
Contributor

FriedLongJohns commented Mar 10, 2024

On the dev branch:

Eject

  • A doesn't use addRequirements()
  • B you don't need to use the execute() at all, since you're just setting speed and waiting.
  • C doesn't check if both TOF sensors are clear before ending the command

Intake

  • D doesn't use addRequirements()
  • E creates a NEW arm EVERY TIME it's run
  • F uses the LED subsystem (do not)
  • G unecessary outtake TOF check in periodic
  • H tries to intake without waiting for the arm to finish moving

PassToOuttake

  • I literally never needed to be changed
  • K doesn't need rumble
  • L doesn't need to move the arm
  • M doesn't need to use execute()
  • N isFinished() doesn't check the state of the outtake TOF sensor
  • O STILL doesn't use addRequirements()
  • P stops the intake in the initialize???
  • Q only sets intake RPM even though both need to be spinning

RumbleNote

  • R I can't even tell what's supposed to be happening here.
  • S ends before it starts the rumble (why did you do this??)
  • T horrendusly convoluted execute logic
  • U where comments
  • V doesn't use addRequirements() for the controller

RampToRPM

  • W doesn't exist (should return finished when shooter RPM is within tolerance of an inputted RPM)

ArmToPos

  • Y also doesn't exist (should return finished when arm has been moved within tolerance of an inputted position)

when you add a commit that fixes some of these things, please also put the letter.
Ex: added comments to fix #34 L

BrandonS09 added a commit that referenced this issue Mar 10, 2024
@sofiebudman
Copy link
Contributor

abc -12dca2232f45f189a47e265b90280ed41f70f783

BrandonS09 added a commit that referenced this issue Mar 10, 2024
BrandonS09 added a commit that referenced this issue Mar 10, 2024
BrandonS09 added a commit that referenced this issue Mar 10, 2024
@FriedLongJohns
Copy link
Contributor Author

PassToSpeaker seems to be ASSUMING you want SPEAKER_RPM.
Change it so that it can take the rpm as an input to the command

stwiggy added a commit that referenced this issue Mar 10, 2024
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

No branches or pull requests

2 participants