#include <oui_oui_placer_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.
◆ OuiOuiPlacerSubsystem()
- 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.
◆ DisablePlacerSoftLimits()
void OuiOuiPlacerSubsystem::DisablePlacerSoftLimits |
( |
| ) |
|
Turns off soft limits of placer.
◆ EnablePlacerSoftLimits()
void OuiOuiPlacerSubsystem::EnablePlacerSoftLimits |
( |
| ) |
|
Turns on soft limits of placer.
◆ ForwardSoftLimitExceeded()
bool OuiOuiPlacerSubsystem::ForwardSoftLimitExceeded |
( |
| ) |
|
◆ GetOuiOuiAngle()
units::degree_t OuiOuiPlacerSubsystem::GetOuiOuiAngle |
( |
| ) |
|
Retrieves the current angle the oui oui placer.
- Returns
- Angle of oui oui placer system relative to robot frame, specifically it's revolution around robot Y
◆ IsStalled()
bool OuiOuiPlacerSubsystem::IsStalled |
( |
| ) |
|
◆ Periodic()
void OuiOuiPlacerSubsystem::Periodic |
( |
| ) |
|
|
override |
Will be called periodically whenever the CommandScheduler runs.
◆ ReverseSoftLimitExceeded()
bool OuiOuiPlacerSubsystem::ReverseSoftLimitExceeded |
( |
| ) |
|
◆ SetOuiOuiSpeed()
void OuiOuiPlacerSubsystem::SetOuiOuiSpeed |
( |
double |
percentOutput, |
|
|
bool |
overrideSoftLimits = false |
|
) |
| |
Sets the speed of placer mechanism motor.
- Parameters
-
percentOutput | Fraction of max power to set motor to, bounded on [-1, 1] |
overrideSoftLimits | True temporarily disables soft limits |
◆ StopOuiOuiPlacer()
void OuiOuiPlacerSubsystem::StopOuiOuiPlacer |
( |
| ) |
|
Stops the oui oui placer, and sets to motor's neutural mode.
◆ m_instance
◆ m_manualOverride
bool OuiOuiPlacerSubsystem::m_manualOverride |
|
private |
◆ m_ouiOuiDrive
WPI_TalonFX OuiOuiPlacerSubsystem::m_ouiOuiDrive |
|
private |
◆ m_ouiOuiTuner
◆ m_softLimitsEnabled
bool OuiOuiPlacerSubsystem::m_softLimitsEnabled |
|
private |
◆ m_stallDebounce
◆ m_stalled
bool OuiOuiPlacerSubsystem::m_stalled |
|
private |
The documentation for this class was generated from the following files: