7#include <frc2/command/Command.h>
8#include <frc2/command/CommandHelper.h>
22 units::degree_t robotYaw,
24 units::millisecond_t driveTime);
30 void End(
bool interrupted)
override;
39 std::chrono::time_point<std::chrono::high_resolution_clock>
m_startTime;
Definition drive_by_time_command.h:14
void Execute() override
Definition drive_by_time_command.cpp:27
units::millisecond_t m_driveTime
Definition drive_by_time_command.h:38
double m_percentSpeed
Definition drive_by_time_command.h:37
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:39
bool IsFinished() override
Definition drive_by_time_command.cpp:37
units::degree_t m_robotYaw
Definition drive_by_time_command.h:36
SwerveDriveSubsystem & m_swerveDrive
Definition drive_by_time_command.h:35
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:67