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

Configuration for the DriveCharacterizer. More...

#include <types.hpp>

Public Attributes

int power_percent {100}
 Raw PWM percentage applied during characterization (1–100).
int trials {3}
 Number of independent trials per axis; median is taken.
double accel_timeout {3.0}
 Maximum seconds to wait for the acceleration phase.
double decel_timeout {3.0}
 Maximum seconds to record the deceleration (coast-down) phase.
int sample_hz {500}
 Sampling rate in Hz for position sampling (e.g. 500).

Detailed Description

Configuration for the DriveCharacterizer.

Definition at line 31 of file types.hpp.

Member Data Documentation

◆ accel_timeout

double libstp::autotune::CharacterizeConfig::accel_timeout {3.0}

Maximum seconds to wait for the acceleration phase.

Definition at line 38 of file types.hpp.

◆ decel_timeout

double libstp::autotune::CharacterizeConfig::decel_timeout {3.0}

Maximum seconds to record the deceleration (coast-down) phase.

Definition at line 40 of file types.hpp.

◆ power_percent

int libstp::autotune::CharacterizeConfig::power_percent {100}

Raw PWM percentage applied during characterization (1–100).

Definition at line 34 of file types.hpp.

◆ sample_hz

int libstp::autotune::CharacterizeConfig::sample_hz {500}

Sampling rate in Hz for position sampling (e.g. 500).

Definition at line 42 of file types.hpp.

◆ trials

int libstp::autotune::CharacterizeConfig::trials {3}

Number of independent trials per axis; median is taken.

Definition at line 36 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