Class IMGUIFieldReporter
- java.lang.Object
-
- frc.lib5k.simulation.wpihooks.imgui.IMGUIFieldReporter
-
public class IMGUIFieldReporter extends java.lang.Object
A tool that hooks into HALSIM to report the robot's simulated position to IMGUI
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IMGUIFieldReporter
getInstance()
boolean
isHooked()
Check if this tool has successfully hooked into HALSIMvoid
reportRobotPosition(edu.wpi.first.wpilibj.geometry.Pose2d p)
Set the robot's position in IMGUI Simulation
-
-
-
Method Detail
-
getInstance
public static IMGUIFieldReporter getInstance()
-
isHooked
public boolean isHooked()
Check if this tool has successfully hooked into HALSIM- Returns:
- Has successfully hooked?
-
reportRobotPosition
public void reportRobotPosition(edu.wpi.first.wpilibj.geometry.Pose2d p)
Set the robot's position in IMGUI Simulation- Parameters:
p
- Robot position
-
-