2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
pose_continuity_fix.h
Go to the documentation of this file.
1
4
5#pragma once
6
7#include <frc/geometry/Pose2d.h>
8#include <frc/geometry/Rotation2d.h>
9#include <units/angle.h>
10
11units::degree_t GetContinuousOffset(units::degree_t continuousStartRotation,
12 frc::Rotation2d& startRotation,
13 units::degree_t continuousEndRotation,
14 frc::Rotation2d& endRotation);
15
16units::degree_t GetContinuousOffset(units::degree_t continuousStartRotation,
17 frc::Pose2d& startPosition,
18 units::degree_t continuousEndRotation,
19 frc::Pose2d& endPosition);
units::degree_t GetContinuousOffset(units::degree_t continuousStartRotation, frc::Rotation2d &startRotation, units::degree_t continuousEndRotation, frc::Rotation2d &endRotation)
Definition pose_continuity_fix.cpp:7