Problem
Several subsystems call io.updateInputs(ioInputs) inside periodic() but never forward the refreshed inputs to AdvantageKit's logging pipeline via Logger.processInputs(). This means the input values are silently dropped and never logged.
The correct pattern (already used in SwerveDriveSubsystem) is:
override fun periodic() {
io.updateInputs(ioInputs)
Logger.processInputs("<SubsystemName>", ioInputs)
}
Affected Subsystems
| File |
Missing Call |
src/main/kotlin/org/frc5183/robot/subsystems/collector/CollectorSubsystem.kt |
Logger.processInputs("Collector", ioInputs) |
src/main/kotlin/org/frc5183/robot/subsystems/shooter/ShooterSubsystem.kt |
Logger.processInputs("Shooter", ioInputs) |
src/main/kotlin/org/frc5183/robot/subsystems/vision/VisionSubsystem.kt |
Logger.processInputs("Vision", inputs) |
src/main/kotlin/org/frc5183/robot/subsystems/turntable/TurntableSubsystem.kt |
Logger.processInputs("Turntable", ioInputs) |
Reference
Problem
Several subsystems call
io.updateInputs(ioInputs)insideperiodic()but never forward the refreshed inputs to AdvantageKit's logging pipeline viaLogger.processInputs(). This means the input values are silently dropped and never logged.The correct pattern (already used in
SwerveDriveSubsystem) is:Affected Subsystems
src/main/kotlin/org/frc5183/robot/subsystems/collector/CollectorSubsystem.ktLogger.processInputs("Collector", ioInputs)src/main/kotlin/org/frc5183/robot/subsystems/shooter/ShooterSubsystem.ktLogger.processInputs("Shooter", ioInputs)src/main/kotlin/org/frc5183/robot/subsystems/vision/VisionSubsystem.ktLogger.processInputs("Vision", inputs)src/main/kotlin/org/frc5183/robot/subsystems/turntable/TurntableSubsystem.ktLogger.processInputs("Turntable", ioInputs)Reference
SwerveDriveSubsystemalready callsLogger.processInputs("Swerve", ioInputs)correctly.