SLHS-Robotics / SLHS-Offseason-2024

BSD 3-Clause Clear License
0 stars 0 forks source link

Initial implementation of April Tag response functions #14

Open 0novo opened 2 months ago

0novo commented 2 months ago

Basically: 1) define a function in AprilTagFuncs 2) head down to the while (opModeIsActive()) loop 3) look for the switch statement and add a case statement for your new function

Pretty barebones at the moment and a little horrible We can add more functions later and/or remake the system as it stands (i.e. close this pull request in the latter case)

0novo commented 2 months ago

like in autonomous? or like in its own class in a different file?

sevenbitscience commented 2 months ago

Own class in separate file

0novo commented 2 months ago

a hardware map (#20) would be nice so we could pass it to functions instead of doing some awkward workaround