RobotCore
Robot Core Documentation
Public Member Functions | List of all members
robotCore.CheckGyroCalibrationCommand Class Reference

Command to check the stability of the gyro. More...

Inheritance diagram for robotCore.CheckGyroCalibrationCommand:
edu.wpi.first.wpilibj2.command.CommandBase edu.wpi.first.wpilibj2.command.Command

Public Member Functions

 CheckGyroCalibrationCommand (Navigator navigator)
 
- Public Member Functions inherited from edu.wpi.first.wpilibj2.command.CommandBase
final void addRequirements (Subsystem... requirements)
 
Set< SubsystemgetRequirements ()
 
- Public Member Functions inherited from edu.wpi.first.wpilibj2.command.Command
default void initialize ()
 
default void execute ()
 
default void end (boolean interrupted)
 
default boolean isFinished ()
 
default ParallelRaceGroup withTimeout (double seconds)
 
default ParallelRaceGroup withInterrupt (BooleanSupplier condition)
 
default SequentialCommandGroup beforeStarting (Runnable toRun, Subsystem... requirements)
 
default SequentialCommandGroup andThen (Runnable toRun, Subsystem... requirements)
 
default SequentialCommandGroup andThen (Command... next)
 
default ParallelDeadlineGroup deadlineWith (Command... parallel)
 
default ParallelCommandGroup alongWith (Command... parallel)
 
default ParallelRaceGroup raceWith (Command... parallel)
 
default PerpetualCommand perpetually ()
 
default ProxyScheduleCommand asProxy ()
 
default void schedule (boolean interruptible)
 
default void schedule ()
 
default void cancel ()
 
default boolean isScheduled ()
 
default boolean hasRequirement (Subsystem requirement)
 
default boolean runsWhenDisabled ()
 
default String getName ()
 

Additional Inherited Members

- Protected Attributes inherited from edu.wpi.first.wpilibj2.command.CommandBase
Set< Subsystemm_requirements = new HashSet<>()
 

Detailed Description

Command to check the stability of the gyro.

This is a utility command which will periodically read the yaw from the Navigator and report the result on the Driver Station. It is useful to check to see if the yaw values have settled.

Constructor & Destructor Documentation

◆ CheckGyroCalibrationCommand()

robotCore.CheckGyroCalibrationCommand.CheckGyroCalibrationCommand ( Navigator  navigator)
Parameters
navigatorThe Navigator class to be used to obtain the yaw.

The documentation for this class was generated from the following file: