// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include "frc/geometry/Rotation2d.h" #include "units/velocity.h" namespace frc { /** * Represents the state of one swerve module. */ struct SwerveModuleState { /** * Speed of the wheel of the module. */ units::meters_per_second_t speed = 0_mps; /** * Angle of the module. */ Rotation2d angle; }; } // namespace frc