team401 / high-key-2024

Other
2 stars 0 forks source link

Fix isDriveAligned #56

Closed aidnem closed 1 month ago

aidnem commented 1 month ago

Purpose During Brawl, I flipped all of the aligns by 180 degrees to make it aim at the speaker (instead of shooting the note at the referee). However, I forgot to update the isDriveAligned function. This means that it would align correctly but then think that it wasn't aligned, causing us to never auto-shoot, and requiring all mashers to force shoot. According to Jack, this should only be done when on the red alliance.

Project Scope

aidnem commented 1 month ago

@jkleiber I can't really fix this until we have the changes from BRB pushed, as the rewriting of how drive alignment works would render my solution obsolete if I made the changes on the current branch. The changes were never pushed after the competition but they're on comp/brb on the laptop hotel (if I remember correctly) so we should be good to go as soon as we get to shop tonight.

aidnem commented 1 month ago

Fixed in #59.