When we're on the blue alliance, there's never actually a reason we'd need to snap to 270º (intake facing the right). The amp is at 90º, the source and the amp side of the stage are at 300º, and the right side of the stage is at 60º.
We should make the snap buttons changes based on context (alliance) and location on the field.
(All angles use the field coordinate system)
When we're on blue (like in B80):
A: 180º
B: 300º when near the source
B: 240º when near stage right
X: 90º when near the amp
X: 120º when near stage left
Y: 0º
When we're on Red
A: 0º
B: 90º when near the amp
B: 60º when near stage right
X: 240º when near the source
X: 200º when near stage left
Y: 180º
This lets the buttons be used to auto-align with the hard-lines on the field
When we're on the blue alliance, there's never actually a reason we'd need to snap to 270º (intake facing the right). The amp is at 90º, the source and the amp side of the stage are at 300º, and the right side of the stage is at 60º.
We should make the snap buttons changes based on context (alliance) and location on the field.
(All angles use the field coordinate system)
When we're on blue (like in B80):
A: 180º B: 300º when near the source B: 240º when near stage right X: 90º when near the amp X: 120º when near stage left Y: 0º
When we're on Red
A: 0º B: 90º when near the amp B: 60º when near stage right X: 240º when near the source X: 200º when near stage left Y: 180º
This lets the buttons be used to auto-align with the hard-lines on the field