blob: c86fcab972b60789c4e54ec63299b7439d15c1f7 [file] [log] [blame]
Brian Silverman07ec88e2014-12-28 00:13:08 -08001package frc971.sensors;
2
3message GyroReading {
4 // Positive is counter-clockwise (Austin says "it's Positive").
5 // Right-hand coordinate system around the Z-axis going up.
Austin Schuhc5a23752015-10-28 19:45:24 -07006 // The angle is measured in radians.
Brian Silverman07ec88e2014-12-28 00:13:08 -08007 double angle;
Austin Schuhc5a23752015-10-28 19:45:24 -07008 // The angular velocity in radians/sec
9 double velocity;
Brian Silverman07ec88e2014-12-28 00:13:08 -080010};
11queue GyroReading gyro_reading;
12
Austin Schuhcc1010e2019-05-12 20:38:01 -070013// Published on ".frc971.sensors.gyro_part_id"
Brian Silverman07ec88e2014-12-28 00:13:08 -080014message Uid {
15 uint32_t uid;
16};