|
libstp
Robotics library for Botball
|
Aggregated configuration for the full auto-tune pipeline. More...
#include <auto_tuner.hpp>
Public Attributes | |
| bool | tune_vel_lpf {true} |
| bool | tune_static_friction {true} |
| bool | tune_firmware_pid {false} |
| bool | tune_encoder_cal {true} |
| bool | tune_characterize {true} |
| bool | tune_velocity {true} |
| bool | tune_motion {true} |
| bool | tune_tolerances {true} |
| VelLpfConfig | vel_lpf_cfg {} |
| StaticFrictionConfig | static_friction_cfg {} |
| FirmwarePidConfig | firmware_pid_cfg {} |
| EncoderCalConfig | encoder_cal_cfg {} |
| CharacterizeConfig | characterize_cfg {} |
| VelocityTuneConfig | velocity_cfg {} |
| MotionTuneConfig | motion_cfg {} |
| ToleranceConfig | tolerance_cfg {} |
| std::vector< std::string > | characterize_axes |
| std::vector< std::string > | velocity_axes |
| std::vector< std::string > | motion_params |
| std::map< std::string, double > | max_velocities |
| std::optional< std::map< int, int > > | max_bemf_speeds {} |
Aggregated configuration for the full auto-tune pipeline.
Each tune_* flag toggles a phase on or off. The phases run in dependency order: vel_lpf → static_friction → encoder_cal → optional firmware_pid → characterize → velocity → motion → tolerances. (encoder_cal/ticks_to_rad runs before firmware_pid because the firmware velocity-PID setpoints are derived through ticks_to_rad.)
Definition at line 26 of file auto_tuner.hpp.
| std::vector<std::string> libstp::autotune::AutoTuneConfig::characterize_axes |
Definition at line 49 of file auto_tuner.hpp.
| CharacterizeConfig libstp::autotune::AutoTuneConfig::characterize_cfg {} |
Definition at line 43 of file auto_tuner.hpp.
| EncoderCalConfig libstp::autotune::AutoTuneConfig::encoder_cal_cfg {} |
Definition at line 42 of file auto_tuner.hpp.
| FirmwarePidConfig libstp::autotune::AutoTuneConfig::firmware_pid_cfg {} |
Definition at line 41 of file auto_tuner.hpp.
| std::optional<std::map<int, int> > libstp::autotune::AutoTuneConfig::max_bemf_speeds {} |
Definition at line 60 of file auto_tuner.hpp.
| std::map<std::string, double> libstp::autotune::AutoTuneConfig::max_velocities |
Definition at line 56 of file auto_tuner.hpp.
| MotionTuneConfig libstp::autotune::AutoTuneConfig::motion_cfg {} |
Definition at line 45 of file auto_tuner.hpp.
| std::vector<std::string> libstp::autotune::AutoTuneConfig::motion_params |
Definition at line 51 of file auto_tuner.hpp.
| StaticFrictionConfig libstp::autotune::AutoTuneConfig::static_friction_cfg {} |
Definition at line 40 of file auto_tuner.hpp.
| ToleranceConfig libstp::autotune::AutoTuneConfig::tolerance_cfg {} |
Definition at line 46 of file auto_tuner.hpp.
| bool libstp::autotune::AutoTuneConfig::tune_characterize {true} |
Definition at line 33 of file auto_tuner.hpp.
| bool libstp::autotune::AutoTuneConfig::tune_encoder_cal {true} |
Definition at line 32 of file auto_tuner.hpp.
| bool libstp::autotune::AutoTuneConfig::tune_firmware_pid {false} |
Definition at line 31 of file auto_tuner.hpp.
| bool libstp::autotune::AutoTuneConfig::tune_motion {true} |
Definition at line 35 of file auto_tuner.hpp.
| bool libstp::autotune::AutoTuneConfig::tune_static_friction {true} |
Definition at line 30 of file auto_tuner.hpp.
| bool libstp::autotune::AutoTuneConfig::tune_tolerances {true} |
Definition at line 36 of file auto_tuner.hpp.
| bool libstp::autotune::AutoTuneConfig::tune_vel_lpf {true} |
Definition at line 29 of file auto_tuner.hpp.
| bool libstp::autotune::AutoTuneConfig::tune_velocity {true} |
Definition at line 34 of file auto_tuner.hpp.
| VelLpfConfig libstp::autotune::AutoTuneConfig::vel_lpf_cfg {} |
Definition at line 39 of file auto_tuner.hpp.
| std::vector<std::string> libstp::autotune::AutoTuneConfig::velocity_axes |
Definition at line 50 of file auto_tuner.hpp.
| VelocityTuneConfig libstp::autotune::AutoTuneConfig::velocity_cfg {} |
Definition at line 44 of file auto_tuner.hpp.