FRC-1250 / Team-1250-Crescendo2024

MIT License
0 stars 0 forks source link

Algorithm for note alignment in launcher #10

Closed Rodney-Lewis closed 9 months ago

Rodney-Lewis commented 9 months ago

Description:

Complete #1 prior to tackling. The IR array attached to the launcher needs logic to properly position the node. For example, if we were to use 6 IR sensors in the array we might do something like this: 00000 = Extrude fast (intaking) 10000 = Extrude pretty fast 11000 = Extrude slowly 11100 = Extrude creep 01110 = PERFECT! Stop 00111 = Retract creep 00011 = Retract slowly 00001 = Retract pretty fast Other states = Error?

Definition of done: