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 | ef428a0 | 2019-03-02 22:19:41 -0800 | [diff] [blame] | 10 | }; |
| 11 | |
| 12 | queue LocalizerControl localizer_control; |