PWNAGERobotics / ScoutingPASS

A FRC Competition Scouting Application
https://pwnagerobotics.github.io/ScoutingPASS/
63 stars 469 forks source link

When the image is "flipped" the box calculation isn't adjusted #61

Closed fuddster closed 1 year ago

fuddster commented 1 year ago

For example, for auto start, a robot starting in the lower left corner of the Blue Alliance Community will result in a click in box 62 in a non-flipped image. I you flip the image 180 degrees, clicking the same place in the Blue Alliance Community will result in a click in box 11.

This will result in a starting position in the Loading Zone when box 11 data is applied to a non-flipped image.

This worked in previous years because the field was symmetrical when rotated 180 degrees. The field for 2023 will not allow for this.

fuddster commented 1 year ago

Not a bug. When the canvas is rotated the axis is rotated as well. Clicking on the same spot rotated or not will result in the same box calculation.