LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
pid_tuner.hpp File Reference

Live on-brain PID tuner. More...

#include <array>
#include "LightLib/lib.hpp"
#include "light/lvgl.h"

Go to the source code of this file.

Classes

struct  light::PidConstants
 Container for one PID's four editable gain values. More...
 
class  light::PidTuner
 Live PID tuner UI driven by LVGL. More...
 

Namespaces

namespace  light
 Public LightLib odometry / pose-estimation API.
 

Enumerations

enum  light::PidType {
  light::PID_DRIVE = 0 , light::PID_TURN , light::PID_SWING , light::PID_HEADING ,
  light::PID_EKF , light::PID_COUNT
}
 PID controller categories selectable in the tuner. More...
 
enum  light::ConstSlot {
  light::KP = 0 , light::KI , light::KD , light::START_I ,
  light::CONST_COUNT
}
 Index into a PidConstants slot. More...
 

Variables

PidTuner light::pid_tuner
 Process-wide singleton tuner instance.
 

Detailed Description

Live on-brain PID tuner.

Renders an LVGL screen with tabs for each PID (drive, turn, swing, heading, EKF), live-editable gain rows, and a chart of left/right wheel output and error during recording.

Definition in file pid_tuner.hpp.