10 #include "ErrorBase.h" 11 #include "SmartDashboard/SendableBase.h" double GetVoltage() const
Query the input voltage of the PDP.
Definition: PowerDistributionPanel.cpp:38
Definition: Utility.cpp:119
double GetCurrent(int channel) const
Query the current of a single channel of the PDP.
Definition: PowerDistributionPanel.cpp:62
double GetTemperature() const
Query the temperature of the PDP.
Definition: PowerDistributionPanel.cpp:50
void ResetTotalEnergy()
Reset the total energy drawn from the PDP.
Definition: PowerDistributionPanel.cpp:117
void ClearStickyFaults()
Remove all of the fault flags on the PDP.
Definition: PowerDistributionPanel.cpp:127
double GetTotalPower() const
Query the total power drawn from the monitored PDP channels.
Definition: PowerDistributionPanel.cpp:93
double GetTotalCurrent() const
Query the total current of all monitored PDP channels (0-15).
Definition: PowerDistributionPanel.cpp:81
Base class for most objects.
Definition: ErrorBase.h:74
Definition: SendableBase.h:19
Definition: SendableBuilder.h:23
Class for getting voltage, current, temperature, power and energy from the CAN PDP.
Definition: PowerDistributionPanel.h:19
void InitSendable(SendableBuilder &builder) override
Initializes this Sendable object.
Definition: PowerDistributionPanel.cpp:137
double GetTotalEnergy() const
Query the total energy drawn from the monitored PDP channels.
Definition: PowerDistributionPanel.cpp:105