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

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

#include <GainScheduler.hpp>

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 10 of file GainScheduler.hpp.

Member Data Documentation

◆ threshold

float hololib::ScheduledGain::threshold

The error bound for these gains.

Definition at line 11 of file GainScheduler.hpp.

◆ gains

PIDGains hololib::ScheduledGain::gains

The PID gains applied when error is below this threshold.

Definition at line 12 of file GainScheduler.hpp.