2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
BashGuardHomingCommand Class Reference

#include <bashguard_homing_command.h>

Inheritance diagram for BashGuardHomingCommand:

Public Member Functions

 BashGuardHomingCommand (BashGuardSubsystem &subsystem)
 
void Initialize () override
 
void Execute () override
 
void End (bool interrupted) override
 
bool IsFinished () override
 

Private Attributes

BashGuardSubsystemm_bashGuardSubsytem
 
argos_lib::Debouncer m_bashGuardMovingDebounce
 
std::chrono::time_point< std::chrono::steady_clock > m_startTime
 

Detailed Description

Note that this extends CommandHelper, rather extending CommandBase directly; this is crucially important, or else the decorator functions in Command will not work!

Constructor & Destructor Documentation

◆ BashGuardHomingCommand()

BashGuardHomingCommand::BashGuardHomingCommand ( BashGuardSubsystem subsystem)
explicit

Member Function Documentation

◆ End()

void BashGuardHomingCommand::End ( bool  interrupted)
override

◆ Execute()

void BashGuardHomingCommand::Execute ( )
override

◆ Initialize()

void BashGuardHomingCommand::Initialize ( )
override

◆ IsFinished()

bool BashGuardHomingCommand::IsFinished ( )
override

Member Data Documentation

◆ m_bashGuardMovingDebounce

argos_lib::Debouncer BashGuardHomingCommand::m_bashGuardMovingDebounce
private

◆ m_bashGuardSubsytem

BashGuardSubsystem& BashGuardHomingCommand::m_bashGuardSubsytem
private

◆ m_startTime

std::chrono::time_point<std::chrono::steady_clock> BashGuardHomingCommand::m_startTime
private

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