We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89d424e commit 07fae51Copy full SHA for 07fae51
components/chassis.py
@@ -250,6 +250,9 @@ def __init__(
250
) -> None:
251
self.imu = Pigeon2(0)
252
self.heading_controller = PIDController(3.0, 0.0, 0.0)
253
+ wpilib.SmartDashboard.putData(
254
+ "Chassis heading_controller", self.heading_controller
255
+ )
256
self.heading_controller.enableContinuousInput(-math.pi, math.pi)
257
self.snapping_to_heading = False
258
self.heading_controller.setTolerance(self.HEADING_TOLERANCE)
0 commit comments