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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.wpi.first.hal.JNIWrapper
JNIWrapper.Helper
-
-
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 voidgetPDPAllCurrents(int handle, double[] currents)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)-
Methods inherited from class edu.wpi.first.hal.JNIWrapper
forceLoad
-
-
-
-
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)
-
getPDPAllCurrents
public static void getPDPAllCurrents(int handle, double[] currents)
-
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)
-
-