commit | 518640d26c4702c5f660b59b5afe5c9b3d0a1ce9 | [log] [tgz] |
---|---|---|
author | James Kuszmaul <jabukuszmaul@gmail.com> | Sat Apr 13 15:50:50 2019 -0700 |
committer | James Kuszmaul <jabukuszmaul@gmail.com> | Sun Apr 14 12:19:49 2019 -0700 |
tree | 6a00f24484cf1b9d6cfeabb46a097fdb40995d69 | |
parent | a1dc3b28df7b9e7f90c82c931ded044405d42eb6 [diff] [blame] |
Add constant-heading localizer reset button Change-Id: I25afc8985dbce2199f6fc4e7eb91c58b1e9bbc5d
diff --git a/frc971/control_loops/drivetrain/localizer.q b/frc971/control_loops/drivetrain/localizer.q index 8fef686..b1169a9 100644 --- a/frc971/control_loops/drivetrain/localizer.q +++ b/frc971/control_loops/drivetrain/localizer.q
@@ -7,6 +7,7 @@ float y; // Y position, meters float theta; // heading, radians double theta_uncertainty; // Uncertainty in theta. + bool keep_current_theta; // Whether to keep the current theta value. }; queue LocalizerControl localizer_control;