blob: 31493e655896c5e2bb08e727b1cf5259c7a09576 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001namespace frc971.control_loops.drivetrain;
2
3// Allows you to reset the state of the localizer to a specific position on the
4// field.
5table LocalizerControl {
Ravago Jonesfb6a7a52020-11-14 13:47:46 -08006 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 Perrycb7da4b2019-08-28 19:35:56 -070011}
12
13root_type LocalizerControl;