Package com.ctre.phoenix6.jni
Class StatusSignalJNI
java.lang.Object
com.ctre.phoenix6.jni.CtreJniWrapper
com.ctre.phoenix6.jni.StatusSignalJNI
- All Implemented Interfaces:
Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionint
double
double
int
int
double
int
double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
double
static int
JNI_OptimizeUpdateFrequencies
(String network, int deviceHash, double optimizedFreqHz, double timeoutSeconds) int
JNI_RefreshSignal
(double timeoutSeconds) static int
JNI_ResetUpdateFrequencies
(String network, int deviceHash, 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
-
network
-
deviceHash
-
spn
-
unitsKey
-
value
-
hwtimeStampSeconds
-
swtimeStampSeconds
-
ecutimeStampSeconds
-
statusCode
-
-
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) -
JNI_ResetUpdateFrequencies
-
clone
-