libstp
Robotics library for Botball
Loading...
Searching...
No Matches
encoder_calibrator.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "autotune/types.hpp"
4#include "drive/drive.hpp"
5#include "hal/odometry.hpp"
6
7namespace libstp::autotune
8{
29 {
30 public:
32
33 [[nodiscard]] EncoderCalResult calibrate(const EncoderCalConfig& cfg) const;
34
35 private:
36 drive::Drive& drive_;
37 odometry::IOdometry& odometry_;
38 };
39
40} // namespace libstp::autotune
EncoderCalibrator(drive::Drive &drive, odometry::IOdometry &odometry)
EncoderCalResult calibrate(const EncoderCalConfig &cfg) const
Configuration for the EncoderCalibrator.
Definition types.hpp:446
Encoder calibration result.
Definition types.hpp:462