Closed BoxWizard000000 closed 5 years ago
The resetValue variable is used to reset the fused heading (since the reset method only resets the gyro.
The resetValue shouldn't be initialized to 0 in the constructor, but rather to whatever angle the navx starts at.
Fix this by calling our custom reset method instead of initializing to 0.
The resetValue variable is used to reset the fused heading (since the reset method only resets the gyro.
The resetValue shouldn't be initialized to 0 in the constructor, but rather to whatever angle the navx starts at.
Fix this by calling our custom reset method instead of initializing to 0.