001/* 002 * Copyright (C) Cross The Road Electronics. All rights reserved. 003 * License information can be found in CTRE_LICENSE.txt 004 * For support and suggestions contact support@ctr-electronics.com or file 005 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases 006 */ 007package com.ctre.phoenix6.controls.jni; 008 009import com.ctre.phoenix6.jni.CtreJniWrapper; 010 011public class ControlJNI extends CtreJniWrapper { 012 public static native int JNI_RequestControlEmpty( 013 String canbus, int deviceHash, double updateTime); 014 public static native int JNI_RequestControlDutyCycleOut( 015 String canbus, int deviceHash, double updateFrequency, double Output, boolean EnableFOC, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 016 public static native int JNI_RequestControlTorqueCurrentFOC( 017 String canbus, int deviceHash, double updateFrequency, double Output, double MaxAbsDutyCycle, double Deadband, boolean OverrideCoastDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 018 public static native int JNI_RequestControlVoltageOut( 019 String canbus, int deviceHash, double updateFrequency, double Output, boolean EnableFOC, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 020 public static native int JNI_RequestControlPositionDutyCycle( 021 String canbus, int deviceHash, double updateFrequency, double Position, double Velocity, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 022 public static native int JNI_RequestControlPositionVoltage( 023 String canbus, int deviceHash, double updateFrequency, double Position, double Velocity, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 024 public static native int JNI_RequestControlPositionTorqueCurrentFOC( 025 String canbus, int deviceHash, double updateFrequency, double Position, double Velocity, double FeedForward, int Slot, boolean OverrideCoastDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 026 public static native int JNI_RequestControlVelocityDutyCycle( 027 String canbus, int deviceHash, double updateFrequency, double Velocity, double Acceleration, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 028 public static native int JNI_RequestControlVelocityVoltage( 029 String canbus, int deviceHash, double updateFrequency, double Velocity, double Acceleration, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 030 public static native int JNI_RequestControlVelocityTorqueCurrentFOC( 031 String canbus, int deviceHash, double updateFrequency, double Velocity, double Acceleration, double FeedForward, int Slot, boolean OverrideCoastDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 032 public static native int JNI_RequestControlMotionMagicDutyCycle( 033 String canbus, int deviceHash, double updateFrequency, double Position, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 034 public static native int JNI_RequestControlMotionMagicVoltage( 035 String canbus, int deviceHash, double updateFrequency, double Position, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 036 public static native int JNI_RequestControlMotionMagicTorqueCurrentFOC( 037 String canbus, int deviceHash, double updateFrequency, double Position, double FeedForward, int Slot, boolean OverrideCoastDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 038 public static native int JNI_RequestControlDifferentialDutyCycle( 039 String canbus, int deviceHash, double updateFrequency, double TargetOutput, double DifferentialPosition, boolean EnableFOC, int DifferentialSlot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 040 public static native int JNI_RequestControlDifferentialVoltage( 041 String canbus, int deviceHash, double updateFrequency, double TargetOutput, double DifferentialPosition, boolean EnableFOC, int DifferentialSlot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 042 public static native int JNI_RequestControlDifferentialPositionDutyCycle( 043 String canbus, int deviceHash, double updateFrequency, double TargetPosition, double DifferentialPosition, boolean EnableFOC, int TargetSlot, int DifferentialSlot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 044 public static native int JNI_RequestControlDifferentialPositionVoltage( 045 String canbus, int deviceHash, double updateFrequency, double TargetPosition, double DifferentialPosition, boolean EnableFOC, int TargetSlot, int DifferentialSlot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 046 public static native int JNI_RequestControlDifferentialVelocityDutyCycle( 047 String canbus, int deviceHash, double updateFrequency, double TargetVelocity, double DifferentialPosition, boolean EnableFOC, int TargetSlot, int DifferentialSlot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 048 public static native int JNI_RequestControlDifferentialVelocityVoltage( 049 String canbus, int deviceHash, double updateFrequency, double TargetVelocity, double DifferentialPosition, boolean EnableFOC, int TargetSlot, int DifferentialSlot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 050 public static native int JNI_RequestControlDifferentialMotionMagicDutyCycle( 051 String canbus, int deviceHash, double updateFrequency, double TargetPosition, double DifferentialPosition, boolean EnableFOC, int TargetSlot, int DifferentialSlot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 052 public static native int JNI_RequestControlDifferentialMotionMagicVoltage( 053 String canbus, int deviceHash, double updateFrequency, double TargetPosition, double DifferentialPosition, boolean EnableFOC, int TargetSlot, int DifferentialSlot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 054 public static native int JNI_RequestControlFollower( 055 String canbus, int deviceHash, double updateFrequency, int MasterID, boolean OpposeMasterDirection); 056 public static native int JNI_RequestControlStrictFollower( 057 String canbus, int deviceHash, double updateFrequency, int MasterID); 058 public static native int JNI_RequestControlDifferentialFollower( 059 String canbus, int deviceHash, double updateFrequency, int MasterID, boolean OpposeMasterDirection); 060 public static native int JNI_RequestControlDifferentialStrictFollower( 061 String canbus, int deviceHash, double updateFrequency, int MasterID); 062 public static native int JNI_RequestControlNeutralOut( 063 String canbus, int deviceHash, double updateFrequency, boolean UseTimesync); 064 public static native int JNI_RequestControlCoastOut( 065 String canbus, int deviceHash, double updateFrequency, boolean UseTimesync); 066 public static native int JNI_RequestControlStaticBrake( 067 String canbus, int deviceHash, double updateFrequency, boolean UseTimesync); 068 public static native int JNI_RequestControlMusicTone( 069 String canbus, int deviceHash, double updateFrequency, double AudioFrequency); 070 public static native int JNI_RequestControlMotionMagicVelocityDutyCycle( 071 String canbus, int deviceHash, double updateFrequency, double Velocity, double Acceleration, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 072 public static native int JNI_RequestControlMotionMagicVelocityTorqueCurrentFOC( 073 String canbus, int deviceHash, double updateFrequency, double Velocity, double Acceleration, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideCoastDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 074 public static native int JNI_RequestControlMotionMagicVelocityVoltage( 075 String canbus, int deviceHash, double updateFrequency, double Velocity, double Acceleration, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 076 public static native int JNI_RequestControlMotionMagicExpoDutyCycle( 077 String canbus, int deviceHash, double updateFrequency, double Position, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 078 public static native int JNI_RequestControlMotionMagicExpoVoltage( 079 String canbus, int deviceHash, double updateFrequency, double Position, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 080 public static native int JNI_RequestControlMotionMagicExpoTorqueCurrentFOC( 081 String canbus, int deviceHash, double updateFrequency, double Position, double FeedForward, int Slot, boolean OverrideCoastDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 082 public static native int JNI_RequestControlDynamicMotionMagicDutyCycle( 083 String canbus, int deviceHash, double updateFrequency, double Position, double Velocity, double Acceleration, double Jerk, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 084 public static native int JNI_RequestControlDynamicMotionMagicVoltage( 085 String canbus, int deviceHash, double updateFrequency, double Position, double Velocity, double Acceleration, double Jerk, boolean EnableFOC, double FeedForward, int Slot, boolean OverrideBrakeDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 086 public static native int JNI_RequestControlDynamicMotionMagicTorqueCurrentFOC( 087 String canbus, int deviceHash, double updateFrequency, double Position, double Velocity, double Acceleration, double Jerk, double FeedForward, int Slot, boolean OverrideCoastDurNeutral, boolean LimitForwardMotion, boolean LimitReverseMotion, boolean IgnoreHardwareLimits, boolean UseTimesync); 088 public static native int JNI_RequestControlModulateVBatOut( 089 String canbus, int deviceHash, double updateFrequency, double Output); 090 public static native int JNI_RequestControlSolidColor( 091 String canbus, int deviceHash, double updateFrequency, int LEDStartIndex, int LEDEndIndex, int Color_Red, int Color_Green, int Color_Blue, int Color_White); 092 public static native int JNI_RequestControlEmptyAnimation( 093 String canbus, int deviceHash, double updateFrequency, int Slot); 094 public static native int JNI_RequestControlColorFlowAnimation( 095 String canbus, int deviceHash, double updateFrequency, int LEDStartIndex, int LEDEndIndex, int Slot, int Color_Red, int Color_Green, int Color_Blue, int Color_White, int Direction, double FrameRate); 096 public static native int JNI_RequestControlFireAnimation( 097 String canbus, int deviceHash, double updateFrequency, int LEDStartIndex, int LEDEndIndex, int Slot, double Brightness, int Direction, double Sparking, double Cooling, double FrameRate); 098 public static native int JNI_RequestControlLarsonAnimation( 099 String canbus, int deviceHash, double updateFrequency, int LEDStartIndex, int LEDEndIndex, int Slot, int Color_Red, int Color_Green, int Color_Blue, int Color_White, int Size, int BounceMode, double FrameRate); 100 public static native int JNI_RequestControlRainbowAnimation( 101 String canbus, int deviceHash, double updateFrequency, int LEDStartIndex, int LEDEndIndex, int Slot, double Brightness, int Direction, double FrameRate); 102 public static native int JNI_RequestControlRgbFadeAnimation( 103 String canbus, int deviceHash, double updateFrequency, int LEDStartIndex, int LEDEndIndex, int Slot, double Brightness, double FrameRate); 104 public static native int JNI_RequestControlSingleFadeAnimation( 105 String canbus, int deviceHash, double updateFrequency, int LEDStartIndex, int LEDEndIndex, int Slot, int Color_Red, int Color_Green, int Color_Blue, int Color_White, double FrameRate); 106 public static native int JNI_RequestControlStrobeAnimation( 107 String canbus, int deviceHash, double updateFrequency, int LEDStartIndex, int LEDEndIndex, int Slot, int Color_Red, int Color_Green, int Color_Blue, int Color_White, double FrameRate); 108 public static native int JNI_RequestControlTwinkleAnimation( 109 String canbus, int deviceHash, double updateFrequency, int LEDStartIndex, int LEDEndIndex, int Slot, int Color_Red, int Color_Green, int Color_Blue, int Color_White, double MaxLEDsOnProportion, double FrameRate); 110 public static native int JNI_RequestControlTwinkleOffAnimation( 111 String canbus, int deviceHash, double updateFrequency, int LEDStartIndex, int LEDEndIndex, int Slot, int Color_Red, int Color_Green, int Color_Blue, int Color_White, double MaxLEDsOnProportion, double FrameRate); 112 public static native int JNI_RequestControlDiff_DutyCycleOut_Position( 113 String canbus, int deviceHash, double updateTime, double AverageRequest_Output, boolean AverageRequest_EnableFOC, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 114 public static native int JNI_RequestControlDiff_PositionDutyCycle_Position( 115 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, double AverageRequest_Velocity, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 116 public static native int JNI_RequestControlDiff_VelocityDutyCycle_Position( 117 String canbus, int deviceHash, double updateTime, double AverageRequest_Velocity, double AverageRequest_Acceleration, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 118 public static native int JNI_RequestControlDiff_MotionMagicDutyCycle_Position( 119 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 120 public static native int JNI_RequestControlDiff_DutyCycleOut_Velocity( 121 String canbus, int deviceHash, double updateTime, double AverageRequest_Output, boolean AverageRequest_EnableFOC, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 122 public static native int JNI_RequestControlDiff_PositionDutyCycle_Velocity( 123 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, double AverageRequest_Velocity, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 124 public static native int JNI_RequestControlDiff_VelocityDutyCycle_Velocity( 125 String canbus, int deviceHash, double updateTime, double AverageRequest_Velocity, double AverageRequest_Acceleration, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 126 public static native int JNI_RequestControlDiff_MotionMagicDutyCycle_Velocity( 127 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 128 public static native int JNI_RequestControlDiff_VoltageOut_Position( 129 String canbus, int deviceHash, double updateTime, double AverageRequest_Output, boolean AverageRequest_EnableFOC, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 130 public static native int JNI_RequestControlDiff_PositionVoltage_Position( 131 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, double AverageRequest_Velocity, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 132 public static native int JNI_RequestControlDiff_VelocityVoltage_Position( 133 String canbus, int deviceHash, double updateTime, double AverageRequest_Velocity, double AverageRequest_Acceleration, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 134 public static native int JNI_RequestControlDiff_MotionMagicVoltage_Position( 135 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 136 public static native int JNI_RequestControlDiff_VoltageOut_Velocity( 137 String canbus, int deviceHash, double updateTime, double AverageRequest_Output, boolean AverageRequest_EnableFOC, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 138 public static native int JNI_RequestControlDiff_PositionVoltage_Velocity( 139 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, double AverageRequest_Velocity, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 140 public static native int JNI_RequestControlDiff_VelocityVoltage_Velocity( 141 String canbus, int deviceHash, double updateTime, double AverageRequest_Velocity, double AverageRequest_Acceleration, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 142 public static native int JNI_RequestControlDiff_MotionMagicVoltage_Velocity( 143 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, boolean AverageRequest_EnableFOC, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideBrakeDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, boolean DifferentialRequest_EnableFOC, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideBrakeDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 144 public static native int JNI_RequestControlDiff_TorqueCurrentFOC_Position( 145 String canbus, int deviceHash, double updateTime, double AverageRequest_Output, double AverageRequest_MaxAbsDutyCycle, double AverageRequest_Deadband, boolean AverageRequest_OverrideCoastDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideCoastDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 146 public static native int JNI_RequestControlDiff_PositionTorqueCurrentFOC_Position( 147 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, double AverageRequest_Velocity, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideCoastDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideCoastDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 148 public static native int JNI_RequestControlDiff_VelocityTorqueCurrentFOC_Position( 149 String canbus, int deviceHash, double updateTime, double AverageRequest_Velocity, double AverageRequest_Acceleration, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideCoastDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideCoastDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 150 public static native int JNI_RequestControlDiff_MotionMagicTorqueCurrentFOC_Position( 151 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideCoastDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Position, double DifferentialRequest_Velocity, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideCoastDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 152 public static native int JNI_RequestControlDiff_TorqueCurrentFOC_Velocity( 153 String canbus, int deviceHash, double updateTime, double AverageRequest_Output, double AverageRequest_MaxAbsDutyCycle, double AverageRequest_Deadband, boolean AverageRequest_OverrideCoastDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideCoastDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 154 public static native int JNI_RequestControlDiff_PositionTorqueCurrentFOC_Velocity( 155 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, double AverageRequest_Velocity, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideCoastDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideCoastDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 156 public static native int JNI_RequestControlDiff_VelocityTorqueCurrentFOC_Velocity( 157 String canbus, int deviceHash, double updateTime, double AverageRequest_Velocity, double AverageRequest_Acceleration, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideCoastDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideCoastDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 158 public static native int JNI_RequestControlDiff_MotionMagicTorqueCurrentFOC_Velocity( 159 String canbus, int deviceHash, double updateTime, double AverageRequest_Position, double AverageRequest_FeedForward, int AverageRequest_Slot, boolean AverageRequest_OverrideCoastDurNeutral, boolean AverageRequest_LimitForwardMotion, boolean AverageRequest_LimitReverseMotion, boolean AverageRequest_IgnoreHardwareLimits, boolean AverageRequest_UseTimesync, double DifferentialRequest_Velocity, double DifferentialRequest_Acceleration, double DifferentialRequest_FeedForward, int DifferentialRequest_Slot, boolean DifferentialRequest_OverrideCoastDurNeutral, boolean DifferentialRequest_LimitForwardMotion, boolean DifferentialRequest_LimitReverseMotion, boolean DifferentialRequest_IgnoreHardwareLimits, boolean DifferentialRequest_UseTimesync); 160}