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 boolean
checkPDPChannel(int channel)
static boolean
checkPDPModule(int module)
static void
clearPDPStickyFaults(int handle)
static double
getPDPChannelCurrent(byte channel, int handle)
static double
getPDPTemperature(int handle)
static double
getPDPTotalCurrent(int handle)
static double
getPDPTotalEnergy(int handle)
static double
getPDPTotalPower(int handle)
static double
getPDPVoltage(int handle)
static int
initializePDP(int module)
static void
resetPDPTotalEnergy(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)
-
-