LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
threeEncoderOdometry.hpp
Go to the documentation of this file.
1/*
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 */
6#pragma once
7
11#include <functional>
12
13namespace okapi {
15 public:
28 const std::shared_ptr<ReadOnlyChassisModel> &imodel,
29 const ChassisScales &ichassisScales,
30 const std::shared_ptr<Logger> &ilogger = Logger::getDefaultLogger());
31
32 protected:
40 OdomState odomMathStep(const std::valarray<std::int32_t> &itickDiff,
41 const QTime &ideltaT) override;
42};
43} // namespace okapi
static std::shared_ptr< Logger > getDefaultLogger()
ThreeEncoderOdometry(const TimeUtil &itimeUtil, const std::shared_ptr< ReadOnlyChassisModel > &imodel, const ChassisScales &ichassisScales, const std::shared_ptr< Logger > &ilogger=Logger::getDefaultLogger())
Odometry.
OdomState odomMathStep(const std::valarray< std::int32_t > &itickDiff, const QTime &ideltaT) override
Does the math, side-effect free, for one odom step.
Utility class for holding an AbstractTimer, AbstractRate, and SettledUtil together in one class since...
Definition timeUtil.hpp:18