#include <vision_subsystem.h>
◆ VisionSubsystem()
◆ AimToPlaceCone()
bool VisionSubsystem::AimToPlaceCone |
( |
| ) |
|
◆ Disable()
void VisionSubsystem::Disable |
( |
| ) |
|
◆ GetCameraTargetValues()
◆ GetDistanceToPoleTape()
std::optional< units::inch_t > VisionSubsystem::GetDistanceToPoleTape |
( |
| ) |
|
Get the longitudinal distance to the retroreflective tape.
- Note
- For now assume we are always seeing the lower pole
- Returns
- units::inch_t
◆ GetHorizontalOffsetToTarget()
std::optional< units::degree_t > VisionSubsystem::GetHorizontalOffsetToTarget |
( |
| ) |
|
Get the current offset to the retroreflective tape.
- Returns
- units::degree_t
◆ GetOffsetToTarget()
Get the offset to the center of the target.
- Parameters
-
target | Target to aim toward |
- Returns
- Desired offset.
◆ Periodic()
void VisionSubsystem::Periodic |
( |
| ) |
|
|
override |
Will be called periodically whenever the CommandScheduler runs.
◆ RequestFilterReset()
void VisionSubsystem::RequestFilterReset |
( |
| ) |
|
◆ SetReflectiveVisionMode()
void VisionSubsystem::SetReflectiveVisionMode |
( |
bool |
mode | ) |
|
◆ m_cameraInterface
Interface to limelight camera.
◆ m_instance
Contains either the competition bot or practice bot. Differentiates between the two.
◆ m_oldTargetValues
◆ m_pDriveSubsystem
Pointer to drivetrain for reading some odometry.
The documentation for this class was generated from the following files: