2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
pose_continuity_fix.cpp File Reference

Functions

units::degree_t GetContinuousOffset (units::degree_t continuousStartRotation, frc::Rotation2d &startRotation, units::degree_t continuousEndRotation, frc::Rotation2d &endRotation)
 
units::degree_t GetContinuousOffset (units::degree_t continuousStartRotation, frc::Pose2d &startPosition, units::degree_t continuousEndRotation, frc::Pose2d &endPosition)
 

Function Documentation

◆ GetContinuousOffset() [1/2]

units::degree_t GetContinuousOffset ( units::degree_t  continuousStartRotation,
frc::Pose2d &  startPosition,
units::degree_t  continuousEndRotation,
frc::Pose2d &  endPosition 
)

◆ GetContinuousOffset() [2/2]

units::degree_t GetContinuousOffset ( units::degree_t  continuousStartRotation,
frc::Rotation2d &  startRotation,
units::degree_t  continuousEndRotation,
frc::Rotation2d &  endRotation 
)