libstp
Robotics library for Botball
Loading...
Searching...
No Matches
libstp::autotune::VelLpfResult Struct Reference

Per-motor LPF-alpha tuning result. More...

#include <types.hpp>

Public Attributes

int motor_port {-1}
double initial_alpha {0.5}
double tuned_alpha {0.5}
double min_score {0.0}
bool applied {false}
std::vector< int > raw_bemf {}
std::vector< VelLpfSweepPoint > sweep {}
 Score-vs-alpha sweep curve (one entry per evaluated alpha).

Detailed Description

Per-motor LPF-alpha tuning result.

Definition at line 392 of file types.hpp.

Member Data Documentation

◆ applied

bool libstp::autotune::VelLpfResult::applied {false}

Definition at line 398 of file types.hpp.

◆ initial_alpha

double libstp::autotune::VelLpfResult::initial_alpha {0.5}

Definition at line 395 of file types.hpp.

◆ min_score

double libstp::autotune::VelLpfResult::min_score {0.0}

Definition at line 397 of file types.hpp.

◆ motor_port

int libstp::autotune::VelLpfResult::motor_port {-1}

Definition at line 394 of file types.hpp.

◆ 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

std::vector<VelLpfSweepPoint> libstp::autotune::VelLpfResult::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}

Definition at line 396 of file types.hpp.


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