7#include <frc2/command/CommandBase.h>
8#include <frc2/command/CommandHelper.h>
9#include <frc2/command/SequentialCommandGroup.h>
16 units::degree_t approachAngle,
17 units::degree_t robotYaw,
18 bool extraDrive =
true);
24 void End(
bool interrupted)
override;
Definition drive_over_charging_station.h:13
const units::degree_t m_approachAngle
Angle of drive direction relative to field-centric.
Definition drive_over_charging_station.h:30
void End(bool interrupted) override
Definition drive_over_charging_station.cpp:88
const bool m_extraDrive
Definition drive_over_charging_station.h:32
void Initialize() override
Definition drive_over_charging_station.cpp:78
SwerveDriveSubsystem * m_pDrive
Raw pointer to swerve drive subsystem object.
Definition drive_over_charging_station.h:29
const bool m_approachForward
Definition drive_over_charging_station.h:33
frc2::CommandPtr m_commands
Commands to execute.
Definition drive_over_charging_station.h:35
const int m_initialPitchSign
Definition drive_over_charging_station.h:34
void Execute() override
Definition drive_over_charging_station.cpp:83
bool IsFinished() override
Definition drive_over_charging_station.cpp:95
units::degree_t m_robotYawAngle
Robot orientation.
Definition drive_over_charging_station.h:31
Subsystem for controlling the swerve drivetrain of the robot.
Definition swerve_drive_subsystem.h:56