Package frc.robot.sim

Class SimulatedRobotState

java.lang.Object
frc.robot.sim.SimulatedRobotState

public class SimulatedRobotState extends Object
Simulated state of the robot
  • Field Details

  • Constructor Details

    • SimulatedRobotState

      public SimulatedRobotState(Pose2d initialPose)
      Create new robot simulation
  • Method Details

    • getGroundTruthPose

      public Pose3d getGroundTruthPose()
      Get the drivetrain pose.
    • update

      public void update()
      Update the simulation. Must be called once per iteration.