Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 1 | namespace frc971.control_loops.drivetrain; |
| 2 | |
| 3 | // Allows you to reset the state of the localizer to a specific position on the |
| 4 | // field. |
| 5 | table LocalizerControl { |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 6 | x:float (id: 0); // X position, meters |
| 7 | y:float (id: 1); // Y position, meters |
| 8 | theta:float (id: 2); // heading, radians |
| 9 | theta_uncertainty:double (id: 3); // Uncertainty in theta. |
| 10 | keep_current_theta:bool (id: 4); // Whether to keep the current theta value. |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 11 | } |
| 12 | |
| 13 | root_type LocalizerControl; |