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

Moves hood slowly down, until hitting a known position then resets relative positioning. More...

#include <home_hood_command.h>

Inheritance diagram for HomeHoodCommand:

Public Member Functions

 HomeHoodCommand (ShooterSubsystem *shooter)
 
void Initialize () override
 
void Execute () override
 
void End (bool interrupted) override
 
bool IsFinished () override
 

Private Attributes

ShooterSubsystemm_pShooter
 
argos_lib::Debouncer m_hoodMovingDebounce
 
std::chrono::time_point< std::chrono::steady_clock > m_startTime
 

Detailed Description

Moves hood slowly down, until hitting a known position then resets relative positioning.

Constructor & Destructor Documentation

◆ HomeHoodCommand()

HomeHoodCommand::HomeHoodCommand ( ShooterSubsystem shooter)
explicit

Member Function Documentation

◆ End()

void HomeHoodCommand::End ( bool  interrupted)
override

◆ Execute()

void HomeHoodCommand::Execute ( )
override

◆ Initialize()

void HomeHoodCommand::Initialize ( )
override

◆ IsFinished()

bool HomeHoodCommand::IsFinished ( )
override

Member Data Documentation

◆ m_hoodMovingDebounce

argos_lib::Debouncer HomeHoodCommand::m_hoodMovingDebounce
private

◆ m_pShooter

ShooterSubsystem* HomeHoodCommand::m_pShooter
private

◆ m_startTime

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

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