#include <drive_to_position_absolute.h>
|
| DriveToPositionAbsolute (SwerveDriveSubsystem *drive, const frc::Pose2d destination, const units::degree_t destAngle, const frc::TrapezoidProfile< units::inches >::Constraints linearConstraints, const frc::TrapezoidProfile< units::degrees >::Constraints rotationalConstraints, const units::feet_per_second_t initialVelocity=0_fps, const units::feet_per_second_t finalVelocity=0_fps) |
|
void | Initialize () override |
|
void | Execute () override |
|
void | End (bool interrupted) override |
|
bool | IsFinished () override |
|
- Copyright
- Copyright (c) Argos FRC Team 1756. Open Source Software; you can modify and/or share it under the terms of the license file in the root directory of this project.
◆ DriveToPositionAbsolute()
DriveToPositionAbsolute::DriveToPositionAbsolute |
( |
SwerveDriveSubsystem * |
drive, |
|
|
const frc::Pose2d |
destination, |
|
|
const units::degree_t |
destAngle, |
|
|
const frc::TrapezoidProfile< units::inches >::Constraints |
linearConstraints, |
|
|
const frc::TrapezoidProfile< units::degrees >::Constraints |
rotationalConstraints, |
|
|
const units::feet_per_second_t |
initialVelocity = 0_fps , |
|
|
const units::feet_per_second_t |
finalVelocity = 0_fps |
|
) |
| |
- Copyright
- Copyright (c) Argos FRC Team 1756. Open Source Software; you can modify and/or share it under the terms of the license file in the root directory of this project.
◆ End()
void DriveToPositionAbsolute::End |
( |
bool |
interrupted | ) |
|
|
override |
◆ Execute()
void DriveToPositionAbsolute::Execute |
( |
| ) |
|
|
override |
◆ Initialize()
void DriveToPositionAbsolute::Initialize |
( |
| ) |
|
|
override |
◆ IsFinished()
bool DriveToPositionAbsolute::IsFinished |
( |
| ) |
|
|
override |
◆ m_destAngle
const units::degree_t DriveToPositionAbsolute::m_destAngle |
|
private |
◆ m_destination
const frc::Pose2d DriveToPositionAbsolute::m_destination |
|
private |
◆ m_finalVelocity
const units::feet_per_second_t DriveToPositionAbsolute::m_finalVelocity |
|
private |
◆ m_initialVelocity
const units::feet_per_second_t DriveToPositionAbsolute::m_initialVelocity |
|
private |
◆ m_linearConstraints
const frc::TrapezoidProfile<units::inches>::Constraints DriveToPositionAbsolute::m_linearConstraints |
|
private |
◆ m_pDrive
◆ m_rotationalConstraints
const frc::TrapezoidProfile<units::degrees>::Constraints DriveToPositionAbsolute::m_rotationalConstraints |
|
private |
The documentation for this class was generated from the following files: