Package edu.wpi.first.hal
Class PDPJNI
- java.lang.Object
-
- edu.wpi.first.hal.JNIWrapper
-
- edu.wpi.first.hal.PDPJNI
-
public class PDPJNI extends JNIWrapper
-
-
Constructor Summary
Constructors Constructor Description PDPJNI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancheckPDPChannel(int channel)static booleancheckPDPModule(int module)static voidclearPDPStickyFaults(int handle)static doublegetPDPChannelCurrent(byte channel, int handle)static doublegetPDPTemperature(int handle)static doublegetPDPTotalCurrent(int handle)static doublegetPDPTotalEnergy(int handle)static doublegetPDPTotalPower(int handle)static doublegetPDPVoltage(int handle)static intinitializePDP(int module)static voidresetPDPTotalEnergy(int handle)
-
-
-
Method Detail
-
initializePDP
public static int initializePDP(int module)
-
checkPDPModule
public static boolean checkPDPModule(int module)
-
checkPDPChannel
public static boolean checkPDPChannel(int channel)
-
getPDPTemperature
public static double getPDPTemperature(int handle)
-
getPDPVoltage
public static double getPDPVoltage(int handle)
-
getPDPChannelCurrent
public static double getPDPChannelCurrent(byte channel, int handle)
-
getPDPTotalCurrent
public static double getPDPTotalCurrent(int handle)
-
getPDPTotalPower
public static double getPDPTotalPower(int handle)
-
getPDPTotalEnergy
public static double getPDPTotalEnergy(int handle)
-
resetPDPTotalEnergy
public static void resetPDPTotalEnergy(int handle)
-
clearPDPStickyFaults
public static void clearPDPStickyFaults(int handle)
-
-