16868C / VRC2425-HighStakes

Library used by VRC team 16868C Rushdown in the 2024-2025 season High Stakes
1 stars 0 forks source link

Distance sensor wall resets do not reset to the correct position #1

Open LegendaryArk opened 5 months ago

LegendaryArk commented 5 months ago

The distance sensor reset method is a compact version of a wall reset using distance sensors and trigonometry. In contrast to Allen's wall reset, which used a lot of if statements, this method will make use of pointers to cut down on the if number of if statements used.

It is split into 2 steps:

The math may be incorrect and may need to be reviewed, as well as the logic of the method itself. Will need more in depth testing at the workshop to determine the actual error.