HoloLib
High-performance holonomic (X-Drive) control library for VEX V5
Loading...
Searching...
No Matches
ScheduledGain Struct Reference

A mapping of error threshold to specific PID gains. More...

#include <gain_scheduler.h>

Public Attributes

float threshold
 The error bound for these gains.
 
PIDGains gains
 The PID gains applied when error is below this threshold.
 

Detailed Description

A mapping of error threshold to specific PID gains.

Definition at line 9 of file gain_scheduler.h.

Member Data Documentation

◆ threshold

float ScheduledGain::threshold

The error bound for these gains.

Definition at line 10 of file gain_scheduler.h.

◆ gains

PIDGains ScheduledGain::gains

The PID gains applied when error is below this threshold.

Definition at line 12 of file gain_scheduler.h.