Error from PDP TotalCurrent function

We added the PowerDistributionPanel to our code to measure current and are getting this error output to our RIOlog . We’re not calling this function, it’s just automatic. Is there a way to disable it or are we doing something else wrong? It’s mostly just an annoying spam output to our log.

  • CAN: Message not found
  • Error at frc.robot.Main.main(Main.java:27): CAN: Message not found
  • edu.wpi.first.hal.PDPJNI.getPDPTotalCurrent(Native Method)
  • edu.wpi.first.wpilibj.PowerDistributionPanel.getTotalCurrent(PowerDistributionPanel.java:79)
  • edu.wpi.first.wpilibj.smartdashboard.SendableBuilderImpl.lambda$addDoubleProperty$3(SendableBuilderImpl.java:242)
  • edu.wpi.first.wpilibj.smartdashboard.SendableBuilderImpl.updateTable(SendableBuilderImpl.java:95)
  • edu.wpi.first.wpilibj.livewindow.LiveWindow.updateValues(LiveWindow.java:290)
  • edu.wpi.first.wpilibj.IterativeRobotBase.loopFunc(IterativeRobotBase.java:263)
  • edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:81)
  • edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:263)
  • frc.robot.Main.main(Main.java:27)

I would make sure your PDP is updated to the latest firmware using Phoenix Tuner.

1 Like

Thanks, that worked. Sometime just need to think of the obvious. :wink:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.