#include <swerve_trapezoidal_profile.h>
|
| SwerveTrapezoidalProfileSegment () |
|
| SwerveTrapezoidalProfileSegment (const frc::Pose2d initialPosition, const units::degree_t initialAngle, const frc::Translation2d relativeTranslation, const units::degree_t relativeRotation, const frc::TrapezoidProfile< units::inches >::Constraints linearConstraints, const units::feet_per_second_t initialVelocity=0_fps, const units::feet_per_second_t finalVelocity=0_fps) |
|
| SwerveTrapezoidalProfileSegment (const frc::Pose2d initialPosition, const units::degree_t initialAngle, const frc::Pose2d finalPosition, const units::degree_t finalAngle, const frc::TrapezoidProfile< units::inches >::Constraints linearConstraints, const units::feet_per_second_t initialVelocity=0_fps, const units::feet_per_second_t finalVelocity=0_fps) |
|
| SwerveTrapezoidalProfileSegment (const SwerveTrapezoidalProfileSegment &other)=default |
|
| SwerveTrapezoidalProfileSegment (SwerveTrapezoidalProfileSegment &&other)=default |
|
SwerveTrapezoidalProfileSegment & | operator= (const SwerveTrapezoidalProfileSegment &)=delete |
|
SwerveTrapezoidalProfileSegment & | operator= (SwerveTrapezoidalProfileSegment &&)=delete |
|
frc::Trajectory::State | Calculate (units::second_t time) const |
|
bool | IsFinished (units::second_t time) const |
|
units::degree_t | GetEndAngle () const |
|
units::degree_t | GetOdometryOffset () const |
|
units::feet_per_second_t | GetXVelocity (const frc::Trajectory::State &state) const |
|
units::feet_per_second_t | GetYVelocity (const frc::Trajectory::State &state) const |
|
◆ SwerveTrapezoidalProfileSegment() [1/5]
SwerveTrapezoidalProfileSegment::SwerveTrapezoidalProfileSegment |
( |
| ) |
|
- 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.
◆ SwerveTrapezoidalProfileSegment() [2/5]
SwerveTrapezoidalProfileSegment::SwerveTrapezoidalProfileSegment |
( |
const frc::Pose2d |
initialPosition, |
|
|
const units::degree_t |
initialAngle, |
|
|
const frc::Translation2d |
relativeTranslation, |
|
|
const units::degree_t |
relativeRotation, |
|
|
const frc::TrapezoidProfile< units::inches >::Constraints |
linearConstraints, |
|
|
const units::feet_per_second_t |
initialVelocity = 0_fps , |
|
|
const units::feet_per_second_t |
finalVelocity = 0_fps |
|
) |
| |
◆ SwerveTrapezoidalProfileSegment() [3/5]
SwerveTrapezoidalProfileSegment::SwerveTrapezoidalProfileSegment |
( |
const frc::Pose2d |
initialPosition, |
|
|
const units::degree_t |
initialAngle, |
|
|
const frc::Pose2d |
finalPosition, |
|
|
const units::degree_t |
finalAngle, |
|
|
const frc::TrapezoidProfile< units::inches >::Constraints |
linearConstraints, |
|
|
const units::feet_per_second_t |
initialVelocity = 0_fps , |
|
|
const units::feet_per_second_t |
finalVelocity = 0_fps |
|
) |
| |
◆ SwerveTrapezoidalProfileSegment() [4/5]
◆ SwerveTrapezoidalProfileSegment() [5/5]
◆ Calculate()
frc::Trajectory::State SwerveTrapezoidalProfileSegment::Calculate |
( |
units::second_t |
time | ) |
const |
◆ GetEndAngle()
units::degree_t SwerveTrapezoidalProfileSegment::GetEndAngle |
( |
| ) |
const |
◆ GetOdometryOffset()
units::degree_t SwerveTrapezoidalProfileSegment::GetOdometryOffset |
( |
| ) |
const |
◆ GetXVelocity()
units::feet_per_second_t SwerveTrapezoidalProfileSegment::GetXVelocity |
( |
const frc::Trajectory::State & |
state | ) |
const |
◆ GetYVelocity()
units::feet_per_second_t SwerveTrapezoidalProfileSegment::GetYVelocity |
( |
const frc::Trajectory::State & |
state | ) |
const |
◆ IsFinished()
bool SwerveTrapezoidalProfileSegment::IsFinished |
( |
units::second_t |
time | ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ m_initialAngle
units::degree_t SwerveTrapezoidalProfileSegment::m_initialAngle |
|
private |
◆ m_initialPosition
frc::Pose2d SwerveTrapezoidalProfileSegment::m_initialPosition |
|
private |
◆ m_linearProfile
const frc::TrapezoidProfile<units::inches> SwerveTrapezoidalProfileSegment::m_linearProfile |
|
private |
◆ m_motionAngle
const units::degree_t SwerveTrapezoidalProfileSegment::m_motionAngle |
|
private |
◆ m_odometryOffsetAngle
units::degree_t SwerveTrapezoidalProfileSegment::m_odometryOffsetAngle |
|
private |
◆ m_relativeRotation
units::degree_t SwerveTrapezoidalProfileSegment::m_relativeRotation |
|
private |
◆ m_relativeTranslation
const frc::Translation2d SwerveTrapezoidalProfileSegment::m_relativeTranslation |
|
private |
The documentation for this class was generated from the following files: