Package frc.robot.subsystems.vision
Class Vision
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.vision.Vision
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Subsystem
public class Vision extends edu.wpi.first.wpilibj2.command.SubsystemBase
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic classMethod Summary
Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
Method Details
getInstance
Returns the singleton instance of the Vision subsystem.- Returns:
- the singleton instance
periodic
public void periodic()hasReceivedGlobalPose
public boolean hasReceivedGlobalPose()