James Kuszmaul | ef428a0 | 2019-03-02 22:19:41 -0800 | [diff] [blame] | 1 | package frc971.control_loops.drivetrain; |
| 2 | |
| 3 | // Allows you to reset the state of the localizer to a specific position on the |
| 4 | // field. |
| 5 | message LocalizerControl { |
| 6 | float x; // X position, meters |
| 7 | float y; // Y position, meters |
| 8 | float theta; // heading, radians |
Austin Schuh | 4b3a005 | 2019-03-24 19:19:10 -0700 | [diff] [blame] | 9 | double theta_uncertainty; // Uncertainty in theta. |
James Kuszmaul | 518640d | 2019-04-13 15:50:50 -0700 | [diff] [blame^] | 10 | bool keep_current_theta; // Whether to keep the current theta value. |
James Kuszmaul | ef428a0 | 2019-03-02 22:19:41 -0800 | [diff] [blame] | 11 | }; |
| 12 | |
| 13 | queue LocalizerControl localizer_control; |