blob: b1169a91e1111537ba8c7b44c3b3a334cbf54b0e [file] [log] [blame]
James Kuszmaulef428a02019-03-02 22:19:41 -08001package frc971.control_loops.drivetrain;
2
3// Allows you to reset the state of the localizer to a specific position on the
4// field.
5message LocalizerControl {
6 float x; // X position, meters
7 float y; // Y position, meters
8 float theta; // heading, radians
Austin Schuh4b3a0052019-03-24 19:19:10 -07009 double theta_uncertainty; // Uncertainty in theta.
James Kuszmaul518640d2019-04-13 15:50:50 -070010 bool keep_current_theta; // Whether to keep the current theta value.
James Kuszmaulef428a02019-03-02 22:19:41 -080011};
12
13queue LocalizerControl localizer_control;