Team-OKC-Robotics / FRC-2022-CPP

a c++ port of our FRC-2022 code as training in C++
Other
0 stars 2 forks source link

Better Intake Unit Tests #10

Closed danielbrownmsm closed 1 year ago

danielbrownmsm commented 1 year ago

Better Intake Unit Tests

Summary The drivetrain subsystem has decent unit tests covering a range of functions. The intake currently only tests initialization. It should test more.

Work Required

Verification

danielbrownmsm commented 1 year ago

Intake does not currently have a GetExtended or IsExtended function because I wasn't sure if it should be based off of the encoder or the limit switch. Also, a simple boolean like that is helpful, but the intake has more than just "am I extended or not." I suppose the whole list of states would be something like: