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

#include <l4_coral_placement_command.h>

Inheritance diagram for L4CoralPlacementCommand:

Public Member Functions

 L4CoralPlacementCommand (ElevatorSubsystem *elevatorSubsystem, IntakeSubsystem *intakeSubsystem)
 
void Initialize () override
 
void Execute () override
 
void End (bool interrupted) override
 
bool IsFinished () override
 

Private Attributes

ElevatorSubsystemm_pElevatorSubsystem
 
IntakeSubsystemm_pIntakeSubsystem
 
std::chrono::time_point< std::chrono::steady_clock > m_startTime
 
bool m_placed
 

Detailed Description

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

Constructor & Destructor Documentation

◆ L4CoralPlacementCommand()

L4CoralPlacementCommand::L4CoralPlacementCommand ( ElevatorSubsystem * elevatorSubsystem,
IntakeSubsystem * intakeSubsystem )

Member Function Documentation

◆ End()

void L4CoralPlacementCommand::End ( bool interrupted)
override

◆ Execute()

void L4CoralPlacementCommand::Execute ( )
override

◆ Initialize()

void L4CoralPlacementCommand::Initialize ( )
override

◆ IsFinished()

bool L4CoralPlacementCommand::IsFinished ( )
override

Member Data Documentation

◆ m_pElevatorSubsystem

ElevatorSubsystem* L4CoralPlacementCommand::m_pElevatorSubsystem
private

◆ m_pIntakeSubsystem

IntakeSubsystem* L4CoralPlacementCommand::m_pIntakeSubsystem
private

◆ m_placed

bool L4CoralPlacementCommand::m_placed
private

◆ m_startTime

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

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