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

Works with the climber subsystem to execute a series of setpoints, automating the climb sequence. More...

#include <climb_command.h>

Inheritance diagram for ClimbCommand:

Public Member Functions

 ClimbCommand (ClimberSubsystem *subsystem, std::vector< ClimberPoint > points)
 
void Initialize () override
 
void Execute () override
 
void End (bool interrupted) override
 
bool IsFinished () override
 

Private Attributes

ClimberSubsystemm_pClimberSubsystem
 
std::vector< ClimberPointm_initPoints
 
std::queue< ClimberPointm_climbPoints
 

Detailed Description

Works with the climber subsystem to execute a series of setpoints, automating the climb sequence.

Constructor & Destructor Documentation

◆ ClimbCommand()

ClimbCommand::ClimbCommand ( ClimberSubsystem subsystem,
std::vector< ClimberPoint points 
)

Member Function Documentation

◆ End()

void ClimbCommand::End ( bool  interrupted)
override

◆ Execute()

void ClimbCommand::Execute ( )
override

◆ Initialize()

void ClimbCommand::Initialize ( )
override

◆ IsFinished()

bool ClimbCommand::IsFinished ( )
override

Member Data Documentation

◆ m_climbPoints

std::queue<ClimberPoint> ClimbCommand::m_climbPoints
private

◆ m_initPoints

std::vector<ClimberPoint> ClimbCommand::m_initPoints
private

◆ m_pClimberSubsystem

ClimberSubsystem* ClimbCommand::m_pClimberSubsystem
private

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