7#include <frc/geometry/Pose2d.h>
8#include <frc2/command/CommandBase.h>
9#include <frc2/command/CommandHelper.h>
10#include <units/angle.h>
11#include <units/velocity.h>
20 const frc::Pose2d destination,
21 const units::degree_t destAngle,
22 const frc::TrapezoidProfile<units::inches>::Constraints linearConstraints,
23 const frc::TrapezoidProfile<units::degrees>::Constraints rotationalConstraints,
24 const units::feet_per_second_t initialVelocity = 0_fps,
25 const units::feet_per_second_t finalVelocity = 0_fps);
31 void End(
bool interrupted)
override;
Definition drive_to_position_absolute.h:17
const frc::TrapezoidProfile< units::inches >::Constraints m_linearConstraints
Definition drive_to_position_absolute.h:39
const frc::Pose2d m_destination
Definition drive_to_position_absolute.h:37
bool IsFinished() override
Definition drive_to_position_absolute.cpp:53
const units::feet_per_second_t m_finalVelocity
Definition drive_to_position_absolute.h:42
const frc::TrapezoidProfile< units::degrees >::Constraints m_rotationalConstraints
Definition drive_to_position_absolute.h:40
const units::degree_t m_destAngle
Definition drive_to_position_absolute.h:38
void Execute() override
Definition drive_to_position_absolute.cpp:41
void Initialize() override
Definition drive_to_position_absolute.cpp:28
const units::feet_per_second_t m_initialVelocity
Definition drive_to_position_absolute.h:41
SwerveDriveSubsystem * m_pDrive
Definition drive_to_position_absolute.h:36
void End(bool interrupted) override
Definition drive_to_position_absolute.cpp:46
Subsystem for controlling the swerve drivetrain of the robot.
Definition swerve_drive_subsystem.h:56