3#include <units/velocity.h> 
    5#include <frc/geometry/Rotation2d.h> 
   18            frc::Rotation2d rotation) : m_velocity(velocity), m_rotation(
 
   49        return std::abs(m_velocity() - other.m_velocity()) < 1E-9
 
   50                && m_rotation == other.m_rotation;
 
   54    units::meters_per_second_t m_velocity;
 
   55    frc::Rotation2d m_rotation;
 
Definition: IdealStartingState.h:9
 
constexpr IdealStartingState(units::meters_per_second_t velocity, frc::Rotation2d rotation)
Definition: IdealStartingState.h:17
 
constexpr units::meters_per_second_t getVelocity() const
Definition: IdealStartingState.h:35
 
constexpr const frc::Rotation2d & getRotation() const
Definition: IdealStartingState.h:44
 
static IdealStartingState fromJson(const wpi::json &json)
Definition: IdealStartingState.cpp:7