|
2025-Robot
Robot code for 2025 FRC season by Argos, FRC team #1756
|
#include <l4_coral_placement_command.h>
Public Member Functions | |
| L4CoralPlacementCommand (ElevatorSubsystem *elevatorSubsystem, IntakeSubsystem *intakeSubsystem) | |
| void | Initialize () override |
| void | Execute () override |
| void | End (bool interrupted) override |
| bool | IsFinished () override |
Private Attributes | |
| ElevatorSubsystem * | m_pElevatorSubsystem |
| IntakeSubsystem * | m_pIntakeSubsystem |
| std::chrono::time_point< std::chrono::steady_clock > | m_startTime |
| bool | m_placed |
Note that this extends CommandHelper, rather extending Command directly; this is crucially important, or else the decorator functions in Command will not work!
| L4CoralPlacementCommand::L4CoralPlacementCommand | ( | ElevatorSubsystem * | elevatorSubsystem, |
| IntakeSubsystem * | intakeSubsystem ) |
|
override |
|
override |
|
override |
|
override |
|
private |
|
private |
|
private |
|
private |