|
libstp
Robotics library for Botball
|
Encoder calibration result. More...
#include <types.hpp>
Public Attributes | |
| std::array< double, 4 > | ticks_to_rad {} |
| New per-motor ticks_to_rad. | |
| std::array< double, 4 > | scale_factors {} |
| Per-motor scale factor (same for all). | |
| double | imu_total_angle_rad {0.0} |
| double | odom_total_angle_rad {0.0} |
| bool | success {false} |
| std::string | failure_reason {} |
Encoder calibration result.
The scale factor is identical for all motors — it reflects the systematic error in the assumed ticks_to_rad. Per-motor variation needs richer kinematics; this calibrator only fixes the global ratio.
| std::string libstp::autotune::EncoderCalResult::failure_reason {} |
| double libstp::autotune::EncoderCalResult::imu_total_angle_rad {0.0} |
| double libstp::autotune::EncoderCalResult::odom_total_angle_rad {0.0} |
| std::array<double, 4> libstp::autotune::EncoderCalResult::scale_factors {} |
| std::array<double, 4> libstp::autotune::EncoderCalResult::ticks_to_rad {} |