#include <shooter_subsystem.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.
◆ ShooterSubsystem()
- 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.
◆ Disable()
| void ShooterSubsystem::Disable |
( |
| ) |
|
◆ Feed()
| void ShooterSubsystem::Feed |
( |
double |
speed, |
|
|
bool |
force = false |
|
) |
| |
◆ IsFeedingShotActive()
| bool ShooterSubsystem::IsFeedingShotActive |
( |
| ) |
|
|
inline |
◆ IsNotePresent()
| bool ShooterSubsystem::IsNotePresent |
( |
| ) |
|
◆ NoteDetectionOverride()
| void ShooterSubsystem::NoteDetectionOverride |
( |
bool |
override | ) |
|
◆ Periodic()
| void ShooterSubsystem::Periodic |
( |
| ) |
|
|
override |
◆ ReadyToShoot()
| bool ShooterSubsystem::ReadyToShoot |
( |
| ) |
|
◆ SetAmpMode()
| void ShooterSubsystem::SetAmpMode |
( |
bool |
ampMode | ) |
|
◆ SetFeedingShotActive()
| void ShooterSubsystem::SetFeedingShotActive |
( |
bool |
val | ) |
|
|
inline |
◆ SetTrapMode()
| void ShooterSubsystem::SetTrapMode |
( |
bool |
trapMode | ) |
|
◆ Shoot() [1/2]
| void ShooterSubsystem::Shoot |
( |
| ) |
|
◆ Shoot() [2/2]
| void ShooterSubsystem::Shoot |
( |
double |
speed | ) |
|
◆ ShooterAtSpeed()
| bool ShooterSubsystem::ShooterAtSpeed |
( |
| ) |
|
◆ ShooterGoToSpeed()
| void ShooterSubsystem::ShooterGoToSpeed |
( |
units::turns_per_second_t |
speed | ) |
|
◆ StopShoot()
| void ShooterSubsystem::StopShoot |
( |
| ) |
|
◆ m_ampMode
| bool ShooterSubsystem::m_ampMode |
|
private |
◆ m_feedMotor
| ctre::phoenix::motorcontrol::can::TalonSRX ShooterSubsystem::m_feedMotor |
|
private |
◆ m_isFeederShotActive
| bool ShooterSubsystem::m_isFeederShotActive |
|
private |
true if we currently want to do a feeding shot
◆ m_primaryMotor
| ctre::phoenix6::hardware::TalonFX ShooterSubsystem::m_primaryMotor |
|
private |
◆ m_robotInstance
◆ m_secondaryMotor
| ctre::phoenix6::hardware::TalonFX ShooterSubsystem::m_secondaryMotor |
|
private |
◆ m_trapMode
| bool ShooterSubsystem::m_trapMode |
|
private |
◆ m_velocityControl
| ctre::phoenix6::controls::VelocityVoltage ShooterSubsystem::m_velocityControl |
|
private |
The documentation for this class was generated from the following files: