Class CANServoHubJNI

java.lang.Object
com.revrobotics.jni.RevJNIWrapper
com.revrobotics.jni.CANServoHubJNI

public class CANServoHubJNI extends RevJNIWrapper
  • Constructor Details

    • CANServoHubJNI

      public CANServoHubJNI()
  • Method Details

    • c_ServoHub_RegisterId

      public static int c_ServoHub_RegisterId(int busId, int deviceId)
    • c_ServoHub_Create

      public static long c_ServoHub_Create(int busId, int deviceId)
    • c_ServoHub_Close

      public static void c_ServoHub_Close(long handle)
    • c_ServoHub_Destroy

      public static void c_ServoHub_Destroy(long handle)
    • c_ServoHub_GetFirmwareVersion

      public static void c_ServoHub_GetFirmwareVersion(long handle, ServoHubLowLevel.FirmwareVersion version)
    • c_ServoHub_SetPeriodicFrameTimeout

      public static void c_ServoHub_SetPeriodicFrameTimeout(long handle, int timeout_ms)
    • c_ServoHub_SetCANTimeout

      public static int c_ServoHub_SetCANTimeout(long handle, int timeout_ms)
    • c_ServoHub_SetCANMaxRetries

      public static void c_ServoHub_SetCANMaxRetries(long handle, int numRetries)
    • c_ServoHub_SetControlFramePeriod

      public static void c_ServoHub_SetControlFramePeriod(long handle, int period_ms)
    • c_ServoHub_GetControlFramePeriod

      public static int c_ServoHub_GetControlFramePeriod(long handle)
    • c_ServoHub_GetPeriodStatus0

      public static ServoHubLowLevel.PeriodicStatus0 c_ServoHub_GetPeriodStatus0(long handle)
    • c_ServoHub_GetPeriodStatus1

      public static ServoHubLowLevel.PeriodicStatus1 c_ServoHub_GetPeriodStatus1(long handle)
    • c_ServoHub_GetPeriodStatus2

      public static ServoHubLowLevel.PeriodicStatus2 c_ServoHub_GetPeriodStatus2(long handle)
    • c_ServoHub_GetPeriodStatus3

      public static ServoHubLowLevel.PeriodicStatus3 c_ServoHub_GetPeriodStatus3(long handle)
    • c_ServoHub_GetPeriodStatus4

      public static ServoHubLowLevel.PeriodicStatus4 c_ServoHub_GetPeriodStatus4(long handle)
    • c_ServoHub_Configure

      public static int c_ServoHub_Configure(long handle, String flattenedString, boolean resetSafeParameters)
    • c_ServoHub_ClearFaults

      public static int c_ServoHub_ClearFaults(long handle)
    • c_ServoHub_SetBankPulsePeriod

      public static int c_ServoHub_SetBankPulsePeriod(long handle, int bank, int pulsePeriod_us)
    • c_ServoHub_GetChannelPulseRange

      public static void c_ServoHub_GetChannelPulseRange(long handle, int channel, ServoChannelConfig.PulseRange pulseRange)
    • c_ServoHub_GetChannelDisableBehavior

      public static boolean c_ServoHub_GetChannelDisableBehavior(long handle, int channel)
    • c_ServoHub_SetChannelPulseWidth

      public static int c_ServoHub_SetChannelPulseWidth(long handle, int channel, int pulseWidth_us)
    • c_ServoHub_SetChannelEnabled

      public static int c_ServoHub_SetChannelEnabled(long handle, int channel, boolean enabled)
    • c_ServoHub_SetChannelPowered

      public static int c_ServoHub_SetChannelPowered(long handle, int channel, boolean powered)
    • c_ServoHub_ConfigureAsync

      public static int c_ServoHub_ConfigureAsync(long handle, String flattenedString, boolean resetSafeParameters)
    • c_ServoHub_GetParameterType

      public static int c_ServoHub_GetParameterType(int paramId)
    • c_ServoHub_CreateSimFaultManager

      public static void c_ServoHub_CreateSimFaultManager(long handle)