#include <bash_guard_subsystem.h>
◆ BashGuardSubsystem()
- 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.
◆ DecomposeBashExtension()
units::inch_t BashGuardSubsystem::DecomposeBashExtension |
( |
const BashGuardPosition & |
positionEnum | ) |
|
◆ Disable()
void BashGuardSubsystem::Disable |
( |
| ) |
|
◆ DisableBashGuardSoftLimits()
void BashGuardSubsystem::DisableBashGuardSoftLimits |
( |
| ) |
|
|
private |
◆ EnableBashGuardSoftLimits()
void BashGuardSubsystem::EnableBashGuardSoftLimits |
( |
| ) |
|
|
private |
◆ GetBashGuardExtension()
units::inch_t BashGuardSubsystem::GetBashGuardExtension |
( |
| ) |
|
◆ GetHomeFailed()
bool BashGuardSubsystem::GetHomeFailed |
( |
| ) |
|
◆ GetMotorMPBufferCount()
int BashGuardSubsystem::GetMotorMPBufferCount |
( |
| ) |
|
◆ GetMPStream()
ctre::phoenix::motion::BufferedTrajectoryPointStream & BashGuardSubsystem::GetMPStream |
( |
| ) |
|
◆ IsBashGuardHomed()
bool BashGuardSubsystem::IsBashGuardHomed |
( |
| ) |
|
- Warning
- If homing failed, this could still return true
◆ IsBashGuardManualOverride()
bool BashGuardSubsystem::IsBashGuardManualOverride |
( |
| ) |
|
◆ IsBashGuardMoving()
bool BashGuardSubsystem::IsBashGuardMoving |
( |
| ) |
|
◆ IsBashGuardMPComplete()
bool BashGuardSubsystem::IsBashGuardMPComplete |
( |
| ) |
|
◆ Periodic()
void BashGuardSubsystem::Periodic |
( |
| ) |
|
|
override |
Will be called periodically whenever the CommandScheduler runs.
◆ SetBashGuardManualOverride()
void BashGuardSubsystem::SetBashGuardManualOverride |
( |
bool |
overrideState | ) |
|
◆ SetExtensionLength()
void BashGuardSubsystem::SetExtensionLength |
( |
units::inch_t |
length | ) |
|
◆ SetExtensionSpeed()
void BashGuardSubsystem::SetExtensionSpeed |
( |
double |
speed | ) |
|
Sets bash guard extension speed.
- Parameters
-
speed | double, on the interval [-1, 1] |
◆ SetHomeFailed()
void BashGuardSubsystem::SetHomeFailed |
( |
bool |
failed | ) |
|
◆ StartMotionProfile()
void BashGuardSubsystem::StartMotionProfile |
( |
size_t |
streamSize | ) |
|
◆ Stop()
void BashGuardSubsystem::Stop |
( |
| ) |
|
◆ StopMotionProfile()
void BashGuardSubsystem::StopMotionProfile |
( |
| ) |
|
◆ UpdateBashGuardHome()
void BashGuardSubsystem::UpdateBashGuardHome |
( |
| ) |
|
◆ m_bashGuard
WPI_TalonFX BashGuardSubsystem::m_bashGuard |
|
private |
◆ m_bashGuardHomed
bool BashGuardSubsystem::m_bashGuardHomed |
|
private |
◆ m_bashGuardManualOverride
bool BashGuardSubsystem::m_bashGuardManualOverride |
|
private |
◆ m_bashHomeFailed
bool BashGuardSubsystem::m_bashHomeFailed |
|
private |
◆ m_bashStream
ctre::phoenix::motion::BufferedTrajectoryPointStream BashGuardSubsystem::m_bashStream |
|
private |
◆ m_bashTuner
The documentation for this class was generated from the following files: