blob: 323f895217cdb3b250ae4436be0dae11655c342a [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.
Austin Schuheb99d072019-05-12 21:03:38 -07005// Published on ".frc971.control_loops.drivetrain.localizer_control"
James Kuszmaulef428a02019-03-02 22:19:41 -08006message LocalizerControl {
7 float x; // X position, meters
8 float y; // Y position, meters
9 float theta; // heading, radians
Austin Schuh4b3a0052019-03-24 19:19:10 -070010 double theta_uncertainty; // Uncertainty in theta.
James Kuszmaul518640d2019-04-13 15:50:50 -070011 bool keep_current_theta; // Whether to keep the current theta value.
James Kuszmaulef428a02019-03-02 22:19:41 -080012};