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

public class ResetPoseCommand extends Command
Command that resets the Oculus system's pose estimation to a specified target pose. This is useful for initializing or correcting the robot's position tracking.
  • Constructor Details

    • ResetPoseCommand

      public ResetPoseCommand(OculusSubsystem oculus, Pose2d targetPose)
      Creates a new ResetPoseCommand.
      Parameters:
      oculus - The Oculus subsystem to reset
      targetPose - The desired pose to reset to
  • Method Details