Skip to content

Dev commands are bad #34

@FriedLongJohns

Description

@FriedLongJohns

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions