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
FieldsModifier and TypeFieldDescriptionintdoubledoubleintintdoubleintdouble -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doublestatic intJNI_OptimizeUpdateFrequencies(String network, int deviceHash, double optimizedFreqHz, double timeoutSeconds) intJNI_RefreshSignal(double timeoutSeconds) static intJNI_ResetUpdateFrequencies(String network, int deviceHash, double timeoutSeconds) intJNI_SetUpdateFrequency(double frequencyHz, double timeoutSeconds) static intJNI_SetUpdateFrequencyForAll(double frequencyHz, StatusSignalJNI[] signals, double timeoutSeconds) static intJNI_WaitForAll(String network, double timeoutSeconds, StatusSignalJNI[] signals) intJNI_WaitForSignal(double timeoutSeconds)
-
Field Details
-
network
-
deviceHash
public int deviceHash -
spn
public int spn -
unitsKey
public int unitsKey -
value
public double value -
hwtimeStampSeconds
public double hwtimeStampSeconds -
swtimeStampSeconds
public double swtimeStampSeconds -
ecutimeStampSeconds
public double ecutimeStampSeconds -
statusCode
public int statusCode
-
-
Constructor Details
-
StatusSignalJNI
public StatusSignalJNI()
-
-
Method Details
-
JNI_GetUnits
-
JNI_RefreshSignal
public int JNI_RefreshSignal(double timeoutSeconds) -
JNI_WaitForSignal
public int JNI_WaitForSignal(double timeoutSeconds) -
JNI_WaitForAll
-
JNI_SetUpdateFrequency
public int JNI_SetUpdateFrequency(double frequencyHz, double timeoutSeconds) -
JNI_SetUpdateFrequencyForAll
public static int JNI_SetUpdateFrequencyForAll(double frequencyHz, StatusSignalJNI[] signals, double timeoutSeconds) -
JNI_GetAppliedUpdateFrequency
public double JNI_GetAppliedUpdateFrequency() -
JNI_OptimizeUpdateFrequencies
public static int JNI_OptimizeUpdateFrequencies(String network, int deviceHash, double optimizedFreqHz, double timeoutSeconds) -
JNI_ResetUpdateFrequencies
-
clone
-