java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.alotobots.library.subsystems.vision.oculus.commands.ZeroHeadingCommand
All Implemented Interfaces:
Sendable

public class ZeroHeadingCommand extends Command
Command that zeros the heading (rotation) of the Oculus system. This is useful for aligning the robot's coordinate system with the field.
  • Constructor Details

    • ZeroHeadingCommand

      public ZeroHeadingCommand(OculusSubsystem oculus)
      Creates a new ZeroHeadingCommand.
      Parameters:
      oculus - The Oculus subsystem to zero
  • Method Details