7#include <frc2/command/CommandBase.h>
8#include <frc2/command/CommandHelper.h>
29 units::degree_t robotYaw,
31 units::millisecond_t driveTime);
37 void End(
bool interrupted)
override;
46 std::chrono::time_point<std::chrono::high_resolution_clock>
m_startTime;
Definition drive_by_time_command.h:21
void Execute() override
Definition drive_by_time_command.cpp:27
units::millisecond_t m_driveTime
Definition drive_by_time_command.h:45
double m_percentSpeed
Definition drive_by_time_command.h:44
void Initialize() override
Definition drive_by_time_command.cpp:22
std::chrono::time_point< std::chrono::high_resolution_clock > m_startTime
Definition drive_by_time_command.h:46
bool IsFinished() override
Definition drive_by_time_command.cpp:37
units::degree_t m_robotYaw
Definition drive_by_time_command.h:43
SwerveDriveSubsystem & m_swerveDrive
Definition drive_by_time_command.h:42
void End(bool interrupted) override
Definition drive_by_time_command.cpp:32
Subsystem for controlling the swerve drivetrain of the robot.
Definition swerve_drive_subsystem.h:56