toggle menu
BunyipsLib
v4.1.0-master-b97a0460
BunyipsLib
switch theme
search in API
BunyipsLib
/
org.murraybridgebunyips.bunyipslib
/
Motor
/
GainScheduling
Gain
Scheduling
open
inner
class
GainScheduling
Gain scheduler builder which will interpolate on build and populate gains. Not to be used as-is.
See also
schedule
Run
To
Position
Gains()
schedule
Run
Using
Encoder
Gains()
Members
Functions
at
Position
Link copied to clipboard
open
fun
atPosition
(
positionTicks
:
Double
,
coeffs
:
Array
<
Double
>
)
:
Motor.GainScheduling
Specify a position in encoder ticks that you want the gains of your system controller to be.
build
Link copied to clipboard
open
fun
build
(
)
Create the interpolated lookup tables for use in gains scheduling.