Package frc.robot.utilities
Class Pigeon
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.utilities.Pigeon
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
,edu.wpi.first.wpilibj2.command.Subsystem
public class Pigeon
extends edu.wpi.first.wpilibj2.command.SubsystemBase
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic edu.wpi.first.wpilibj2.command.button.Trigger
static edu.wpi.first.wpilibj2.command.button.Trigger
static edu.wpi.first.wpilibj2.command.button.Trigger
static edu.wpi.first.wpilibj2.command.button.Trigger
-
Method Summary
Modifier and TypeMethodDescriptioncom.ctre.phoenix6.StatusCode
static Supplier<edu.wpi.first.units.measure.Angle>
static Supplier<edu.wpi.first.units.measure.AngularVelocity>
static Supplier<edu.wpi.first.units.measure.Angle>
static Supplier<edu.wpi.first.units.measure.AngularVelocity>
static edu.wpi.first.math.geometry.Rotation3d
static Supplier<edu.wpi.first.units.measure.Temperature>
static Supplier<edu.wpi.first.units.measure.Voltage>
static Supplier<edu.wpi.first.units.measure.Angle>
static Supplier<edu.wpi.first.units.measure.AngularVelocity>
void
periodic()
static Runnable
void
Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, startEnd, startRun
-
Field Details
-
rollZero
public static edu.wpi.first.wpilibj2.command.button.Trigger rollZero -
rollStopped
public static edu.wpi.first.wpilibj2.command.button.Trigger rollStopped -
pitchZero
public static edu.wpi.first.wpilibj2.command.button.Trigger pitchZero -
pitchStopped
public static edu.wpi.first.wpilibj2.command.button.Trigger pitchStopped
-
-
Method Details
-
configureAll
public com.ctre.phoenix6.StatusCode configureAll() -
getYawSupplier
-
getYawVelocitySupplier
-
getPitchSupplier
-
getPitchVelocitySupplier
-
getRollSupplier
-
getRollVelocitySupplier
-
getFaultsSupplier
-
getStickyFaultsSupplier
-
getVoltageSupplier
-
getTemperatureSupplier
-
getRotation
public static edu.wpi.first.math.geometry.Rotation3d getRotation() -
resetHeading
-
periodic
public void periodic() -
simulationPeriodic
public void simulationPeriodic()
-