#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 |
( |
| ) |
|
◆ GetMotorCurrent()
| units::ampere_t IntakeSubsystem::GetMotorCurrent |
( |
| ) |
|
◆ GetMotorVelocity()
| units::angular_velocity::turns_per_second_t IntakeSubsystem::GetMotorVelocity |
( |
| ) |
|
◆ IntakeAlgae()
| void IntakeSubsystem::IntakeAlgae |
( |
double | speed = 1.0 | ) |
|
◆ IntakeCoral()
| void IntakeSubsystem::IntakeCoral |
( |
double | speed = 0.8 | ) |
|
◆ IsAlgaeDetected()
| bool IntakeSubsystem::IsAlgaeDetected |
( |
| ) |
|
◆ IsAlgaeLost()
| bool IntakeSubsystem::IsAlgaeLost |
( |
| ) |
|
◆ IsCoralDetected()
| bool IntakeSubsystem::IsCoralDetected |
( |
| ) |
|
◆ OuttakeAlgae()
| void IntakeSubsystem::OuttakeAlgae |
( |
double | speed = 1.0 | ) |
|
◆ OuttakeCoral()
| void IntakeSubsystem::OuttakeCoral |
( |
double | speed = 1.0 | ) |
|
◆ Periodic()
| void IntakeSubsystem::Periodic |
( |
| ) |
|
|
override |
Will be called periodically whenever the CommandScheduler runs.
◆ Stop()
| void IntakeSubsystem::Stop |
( |
| ) |
|
◆ m_haveAlgae
| bool IntakeSubsystem::m_haveAlgae |
|
private |
◆ m_haveCoral
| bool IntakeSubsystem::m_haveCoral |
|
private |
◆ m_intakeMotor
| ctre::phoenix6::hardware::TalonFX IntakeSubsystem::m_intakeMotor |
|
private |
◆ m_robotInstance
The documentation for this class was generated from the following files: