#include <auto_position_aim_command.h>
|
units::degree_t | GetOffsetAngle (frc::Translation2d curPos, frc::Translation2d target) |
|
units::degree_t | GetAngleToPoint (frc::Translation2d curPos, frc::Translation2d target) |
|
units::degree_t | GetTurretAngleToTarget (frc::Pose2d curRobotPos, frc::Translation2d target) |
|
- 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.
◆ AutoPositionAimCommand()
AutoPositionAimCommand::AutoPositionAimCommand |
( |
ShooterSubsystem * |
shootSys, |
|
|
frc::Pose2d |
shootingPosition |
|
) |
| |
|
explicit |
- 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 AutoPositionAimCommand::End |
( |
bool |
interrupted | ) |
|
|
override |
◆ Execute()
void AutoPositionAimCommand::Execute |
( |
| ) |
|
|
override |
◆ GetAngleToPoint()
units::degree_t AutoPositionAimCommand::GetAngleToPoint |
( |
frc::Translation2d |
curPos, |
|
|
frc::Translation2d |
target |
|
) |
| |
|
private |
◆ GetOffsetAngle()
units::degree_t AutoPositionAimCommand::GetOffsetAngle |
( |
frc::Translation2d |
curPos, |
|
|
frc::Translation2d |
target |
|
) |
| |
|
private |
◆ GetTurretAngleToTarget()
units::degree_t AutoPositionAimCommand::GetTurretAngleToTarget |
( |
frc::Pose2d |
curRobotPos, |
|
|
frc::Translation2d |
target |
|
) |
| |
|
private |
◆ Initialize()
void AutoPositionAimCommand::Initialize |
( |
| ) |
|
|
override |
◆ IsFinished()
bool AutoPositionAimCommand::IsFinished |
( |
| ) |
|
|
override |
◆ m_pShooter
◆ m_shootingPosition
frc::Pose2d AutoPositionAimCommand::m_shootingPosition |
|
private |
◆ m_startTime
std::chrono::time_point<std::chrono::steady_clock> AutoPositionAimCommand::m_startTime |
|
private |
◆ m_threshDebounce
The documentation for this class was generated from the following files: