CTRE Phoenix 6 C++ 24.50.0-alpha-2
|
Represents the position of one swerve module. More...
#include <ctre/phoenix6/swerve/impl/SwerveDriveKinematics.hpp>
Public Member Functions | |
SwerveModulePosition | Interpolate (SwerveModulePosition const &endValue, double t) const |
bool | operator== (SwerveModulePosition const &other) const |
bool | operator!= (SwerveModulePosition const &other) const |
Public Attributes | |
units::meter_t | distance = 0_m |
Distance the wheel of a module has traveled. More... | |
Rotation2d | angle |
Angle of the module. More... | |
Represents the position of one swerve module.
|
inline |
|
inline |
|
inline |
Rotation2d ctre::phoenix6::swerve::impl::SwerveModulePosition::angle |
Angle of the module.
units::meter_t ctre::phoenix6::swerve::impl::SwerveModulePosition::distance = 0_m |
Distance the wheel of a module has traveled.