Package com.ctre.phoenix6.jni
Class StatusSignalJNI
java.lang.Object
com.ctre.phoenix6.jni.CtreJniWrapper
com.ctre.phoenix6.jni.StatusSignalJNI
- All Implemented Interfaces:
Cloneable
public class StatusSignalJNI extends CtreJniWrapper implements Cloneable
-
Field Summary
Fields Modifier and Type Field Description int
deviceHash
double
ecutimeStampSeconds
double
hwtimeStampSeconds
String
network
int
spn
int
statusCode
double
swtimeStampSeconds
double
value
-
Constructor Summary
Constructors Constructor Description StatusSignalJNI()
-
Method Summary
Modifier and Type Method Description StatusSignalJNI
clone()
double
JNI_GetAppliedUpdateFrequency()
String
JNI_GetUnits()
static int
JNI_OptimizeUpdateFrequencies(String network, int deviceHash, double optimizedFreqHz, double timeoutSeconds)
int
JNI_RefreshSignal(double timeoutSeconds)
int
JNI_SetUpdateFrequency(double frequencyHz, double timeoutSeconds)
static int
JNI_SetUpdateFrequencyForAll(double frequencyHz, StatusSignalJNI[] signals, double timeoutSeconds)
static int
JNI_WaitForAll(String network, double timeoutSeconds, StatusSignalJNI[] signals)
int
JNI_WaitForSignal(double timeoutSeconds)
-
Field Details
-
Constructor Details
-
StatusSignalJNI
public StatusSignalJNI()
-
-
Method Details
-
JNI_GetUnits
-
JNI_RefreshSignal
-
JNI_WaitForSignal
-
JNI_WaitForAll
-
JNI_SetUpdateFrequency
-
JNI_SetUpdateFrequencyForAll
public static int JNI_SetUpdateFrequencyForAll(double frequencyHz, StatusSignalJNI[] signals, double timeoutSeconds) -
JNI_GetAppliedUpdateFrequency
-
JNI_OptimizeUpdateFrequencies
public static int JNI_OptimizeUpdateFrequencies(String network, int deviceHash, double optimizedFreqHz, double timeoutSeconds) -
clone
-