Mechanical-Advantage / AdvantageKit

Logging & replay framework for FRC
GNU General Public License v3.0
155 stars 45 forks source link

AnalogInput sensor issues #63

Closed amndazhang closed 8 months ago

amndazhang commented 8 months ago

When trying to get an analog sensor value (analog potentiometer), the get value returns infinite value instead of corresponding value after implementing advantagekit.

We noticed your work around here: https://github.com/Mechanical-Advantage/RobotCode2023/blob/9884d13b2220b76d430e82248fd837adbc4a10bc/src/main/java/org/littletonrobotics/frc2023/subsystems/drive/ModuleIOSparkMax.java#L166-L167