Skip to content

Commit

Permalink
Implement odom calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
SizzinSeal committed Oct 15, 2023
1 parent a26200f commit 76fc8be
Show file tree
Hide file tree
Showing 3 changed files with 499 additions and 427 deletions.
11 changes: 11 additions & 0 deletions include/lemlib/odom/arc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ class ArcOdom : public Odom {
*/
ArcOdom(std::vector<TrackingWheel>& verticals, std::vector<TrackingWheel>& horizontals,
std::vector<pros::Imu>& imus);

/**
* @brief Calibrate tracking wheels and inertial sensors
*
*/
void calibrate() override;
/**
* @brief Update odom pose
*
*/
void update() override;
private:
std::vector<TrackingWheel> verticals;
std::vector<TrackingWheel> horizontals;
Expand Down
Loading

0 comments on commit 76fc8be

Please sign in to comment.