#include <shoot_command.h>
- Copyright
- Copyright (c) Argos FRC Team 1756. Open Source Software; you can modify and/or share it under the terms of the license file in the root directory of this project.
◆ ShootCommand() [1/2]
- Copyright
- Copyright (c) Argos FRC Team 1756. Open Source Software; you can modify and/or share it under the terms of the license file in the root directory of this project.
◆ ShootCommand() [2/2]
ShootCommand::ShootCommand |
( |
IntakeSubsystem * |
subsystem, |
|
|
uint |
numCargo, |
|
|
units::millisecond_t |
timeout |
|
) |
| |
◆ End()
void ShootCommand::End |
( |
bool |
interrupted | ) |
|
|
override |
◆ Execute()
void ShootCommand::Execute |
( |
| ) |
|
|
override |
◆ Initialize()
void ShootCommand::Initialize |
( |
| ) |
|
|
override |
◆ IsFinished()
bool ShootCommand::IsFinished |
( |
| ) |
|
|
override |
◆ m_cargoShot
uint ShootCommand::m_cargoShot |
|
private |
◆ m_pIntake
◆ m_previousBallPresent
bool ShootCommand::m_previousBallPresent |
|
private |
◆ m_startTime
std::chrono::time_point<std::chrono::steady_clock> ShootCommand::m_startTime |
|
private |
◆ m_timeout
units::millisecond_t ShootCommand::m_timeout |
|
private |
◆ m_totalCargo
uint ShootCommand::m_totalCargo |
|
private |
Total cargo we expect to shoot. 0 indicates shoot until timeout.
The documentation for this class was generated from the following files: