Artifact artf3520 : Need a PDP Clear Sticky Faults API

Artifact artf3740 : C++ and Java don't implement all PDP features

Change-Id: I6a519d16de412a4d477b1f9c57e9b405b2e1aae0
This commit is contained in:
Omar Zrien
2014-11-25 00:52:41 -05:00
committed by Thomas Clark
parent 56430ccd7c
commit 4da9ebe1fd
7 changed files with 218 additions and 17 deletions

View File

@@ -21,6 +21,11 @@ class PowerDistributionPanel : public SensorBase {
double GetVoltage();
double GetTemperature();
double GetCurrent(uint8_t channel);
double GetTotalCurrent();
double GetTotalPower();
double GetTotalEnergy();
void ResetTotalEnergy();
void ClearStickyFaults();
};
#endif /* __WPILIB_POWER_DISTRIBUTION_PANEL_H__ */