2022-Robot
Robot code for 2022 FRC Season by Argos, FRC team #1756
Loading...
Searching...
No Matches
AutoVisionAimCommand Class Reference

#include <auto_vision_aim_command.h>

Inheritance diagram for AutoVisionAimCommand:

Public Member Functions

 AutoVisionAimCommand (ShooterSubsystem *subsystem)
 
void Initialize () override
 
void Execute () override
 
void End (bool interrupted) override
 
bool IsFinished () override
 

Private Member Functions

template<typename T >
bool InThreshold (T value, T threshold)
 
bool InAcceptableRanges (AimValues targets, AimValues real)
 

Private Attributes

ShooterSubsystemm_pShooter
 
argos_lib::Debouncer m_threshDebounce
 

Detailed Description

Constructor & Destructor Documentation

◆ AutoVisionAimCommand()

AutoVisionAimCommand::AutoVisionAimCommand ( ShooterSubsystem subsystem)
explicit

Member Function Documentation

◆ End()

void AutoVisionAimCommand::End ( bool  interrupted)
override

◆ Execute()

void AutoVisionAimCommand::Execute ( )
override

◆ InAcceptableRanges()

bool AutoVisionAimCommand::InAcceptableRanges ( AimValues  targets,
AimValues  real 
)
private

◆ Initialize()

void AutoVisionAimCommand::Initialize ( )
override

◆ InThreshold()

template<typename T >
bool AutoVisionAimCommand::InThreshold ( value,
threshold 
)
private

◆ IsFinished()

bool AutoVisionAimCommand::IsFinished ( )
override

Member Data Documentation

◆ m_pShooter

ShooterSubsystem* AutoVisionAimCommand::m_pShooter
private

◆ m_threshDebounce

argos_lib::Debouncer AutoVisionAimCommand::m_threshDebounce
private

The documentation for this class was generated from the following files: