Per-motor LPF-alpha tuning result.
More...
#include <types.hpp>
Per-motor LPF-alpha tuning result.
Definition at line 392 of file types.hpp.
◆ applied
| bool libstp::autotune::VelLpfResult::applied {false} |
◆ initial_alpha
| double libstp::autotune::VelLpfResult::initial_alpha {0.5} |
◆ min_score
| double libstp::autotune::VelLpfResult::min_score {0.0} |
◆ motor_port
| int libstp::autotune::VelLpfResult::motor_port {-1} |
◆ raw_bemf
| std::vector<int> libstp::autotune::VelLpfResult::raw_bemf {} |
Raw BEMF samples captured while the motor spun at a steady open-loop PWM (ADC counts), in acquisition order. These are replayed offline to render the raw-vs-filtered overlay at the chosen alpha.
Definition at line 402 of file types.hpp.
◆ sweep
Score-vs-alpha sweep curve (one entry per evaluated alpha).
Definition at line 404 of file types.hpp.
◆ tuned_alpha
| double libstp::autotune::VelLpfResult::tuned_alpha {0.5} |
The documentation for this struct was generated from the following file:
- /home/runner/work/raccoon-lib/raccoon-lib/modules/libstp-autotune/include/autotune/types.hpp