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

Full result of a BEMF→velocity calibration run. More...

#include <bemf_velocity_tune.hpp>

Public Attributes

std::vector< BemfVelocityPoint > points {}
std::array< BemfMotorFit, 4 > motors {}
std::array< double, 4 > ticks_to_rad {}
 chosen per-motor value
std::array< double, 4 > bemf_offset {}
 per-motor BEMF offset (counts)
bool linear_overall {false}
bool applied {false}
bool success {false}
std::string failure_reason {}

Detailed Description

Full result of a BEMF→velocity calibration run.

Definition at line 110 of file bemf_velocity_tune.hpp.

Member Data Documentation

◆ applied

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

Definition at line 117 of file bemf_velocity_tune.hpp.

◆ bemf_offset

std::array<double, 4> libstp::autotune::BemfVelocityResult::bemf_offset {}

per-motor BEMF offset (counts)

Definition at line 115 of file bemf_velocity_tune.hpp.

◆ failure_reason

std::string libstp::autotune::BemfVelocityResult::failure_reason {}

Definition at line 119 of file bemf_velocity_tune.hpp.

◆ linear_overall

bool libstp::autotune::BemfVelocityResult::linear_overall {false}

Definition at line 116 of file bemf_velocity_tune.hpp.

◆ motors

std::array<BemfMotorFit, 4> libstp::autotune::BemfVelocityResult::motors {}

Definition at line 113 of file bemf_velocity_tune.hpp.

◆ points

std::vector<BemfVelocityPoint> libstp::autotune::BemfVelocityResult::points {}

Definition at line 112 of file bemf_velocity_tune.hpp.

◆ success

bool libstp::autotune::BemfVelocityResult::success {false}

Definition at line 118 of file bemf_velocity_tune.hpp.

◆ ticks_to_rad

std::array<double, 4> libstp::autotune::BemfVelocityResult::ticks_to_rad {}

chosen per-motor value

Definition at line 114 of file bemf_velocity_tune.hpp.


The documentation for this struct was generated from the following file: