#include <intake_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.
◆ IntakeSubsystem()
- 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 IntakeSubsystem::Disable |
( |
| ) |
|
◆ EjectCone()
void IntakeSubsystem::EjectCone |
( |
| ) |
|
◆ EjectConeForReal()
void IntakeSubsystem::EjectConeForReal |
( |
| ) |
|
◆ EjectCube()
void IntakeSubsystem::EjectCube |
( |
| ) |
|
◆ GetIntakeDistance()
units::inch_t IntakeSubsystem::GetIntakeDistance |
( |
| ) |
|
◆ GetRawConePosition()
std::optional< units::inch_t > IntakeSubsystem::GetRawConePosition |
( |
| ) |
|
|
private |
◆ IntakeCone()
void IntakeSubsystem::IntakeCone |
( |
| ) |
|
◆ IntakeCube()
void IntakeSubsystem::IntakeCube |
( |
| ) |
|
◆ IntakeFastReverse()
void IntakeSubsystem::IntakeFastReverse |
( |
| ) |
|
◆ IntakeForward()
void IntakeSubsystem::IntakeForward |
( |
| ) |
|
◆ IntakeReverse()
void IntakeSubsystem::IntakeReverse |
( |
| ) |
|
◆ IntakeStop()
void IntakeSubsystem::IntakeStop |
( |
| ) |
|
◆ IsConeDetected()
bool IntakeSubsystem::IsConeDetected |
( |
| ) |
|
◆ IsCubeDetected()
bool IntakeSubsystem::IsCubeDetected |
( |
| ) |
|
◆ IsGamePieceDetected()
bool IntakeSubsystem::IsGamePieceDetected |
( |
| ) |
|
|
private |
◆ IsGamepieceLost()
bool IntakeSubsystem::IsGamepieceLost |
( |
| ) |
|
◆ Periodic()
void IntakeSubsystem::Periodic |
( |
| ) |
|
|
override |
Will be called periodically whenever the CommandScheduler runs.
◆ ReadSensorDistance()
std::optional< units::inch_t > IntakeSubsystem::ReadSensorDistance |
( |
frc::TimeOfFlight & |
sensor | ) |
|
|
private |
◆ TofConeDetected()
bool IntakeSubsystem::TofConeDetected |
( |
| ) |
|
◆ TofCubeDetected()
bool IntakeSubsystem::TofCubeDetected |
( |
| ) |
|
◆ m_coneLeftIntakeSensor
frc::TimeOfFlight IntakeSubsystem::m_coneLeftIntakeSensor |
|
private |
Time of flight distance sensor mounted on left side of intake (wheels up) to detect cone presence & location.
◆ m_coneOffsetFilter
frc::LinearFilter<units::inch_t> IntakeSubsystem::m_coneOffsetFilter |
|
private |
◆ m_coneRightIntakeSensor
frc::TimeOfFlight IntakeSubsystem::m_coneRightIntakeSensor |
|
private |
Time of flight distance sensor mounted on right side of intake (wheels up) to detect cone presence & location.
◆ m_cubeIntakeSensor
frc::TimeOfFlight IntakeSubsystem::m_cubeIntakeSensor |
|
private |
Time of flight distance sensor mounted on left side of intake (wheels up) to detect cube presence & location.
◆ m_filteredConeOffset
units::inch_t IntakeSubsystem::m_filteredConeOffset |
|
private |
Location of cone relative to intake center filtered to reduce noise. Positive is toward left side (wheels up)
◆ m_haveCone
bool IntakeSubsystem::m_haveCone |
|
private |
◆ m_haveCube
bool IntakeSubsystem::m_haveCube |
|
private |
◆ m_intakeMotor
WPI_TalonSRX IntakeSubsystem::m_intakeMotor |
|
private |
◆ m_robotInstance
The documentation for this class was generated from the following files: