blob: 9179d5dcffc9e0e064cdb962e15e4c3ebbc8c898 [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
13message Uid {
14 uint32_t uid;
15};
16queue Uid gyro_part_id;