8#include <frc2/command/Command.h>
9#include <frc2/command/CommandHelper.h>
28 units::millisecond_t driveTime);
34 void End(
bool interrupted)
override;
43 std::chrono::time_point<std::chrono::high_resolution_clock>
m_startTime;
Definition drive_by_time_vision.h:18
void End(bool interrupted) override
Definition drive_by_time_vision.cpp:51
units::millisecond_t m_driveTime
Definition drive_by_time_vision.h:42
bool LeftAlignment
Definition drive_by_time_vision.h:41
SwerveDriveSubsystem & m_swerveDrive
Definition drive_by_time_vision.h:39
void Initialize() override
Definition drive_by_time_vision.cpp:28
argos_lib::Debouncer m_autoAimDebouncer
Definition drive_by_time_vision.h:44
bool IsFinished() override
Definition drive_by_time_vision.cpp:60
DriveByTimeVisionCommand(SwerveDriveSubsystem &swerveDrive, VisionSubsystem &visionSubsystem, bool leftAlignment, units::millisecond_t driveTime)
Constructs DriveByTimeCommand that drives by a vector with angle robotYaw and power percentSpeed for ...
Definition drive_by_time_vision.cpp:15
void Execute() override
Definition drive_by_time_vision.cpp:34
std::chrono::time_point< std::chrono::high_resolution_clock > m_startTime
Definition drive_by_time_vision.h:43
VisionSubsystem & m_visionSubsystem
Definition drive_by_time_vision.h:40
Subsystem for controlling the swerve drivetrain of the robot.
Definition swerve_drive_subsystem.h:75
Definition vision_subsystem.h:136
Definition debouncer.h:14