blob: 08857387b2559b908b56618cb0b678f6548e6772 [file] [log] [blame]
Brian Silverman07ec88e2014-12-28 00:13:08 -08001package frc971.sensors;
2
Austin Schuh1ea89bb2019-05-27 16:59:59 -07003// Published on ".frc971.sensors.gyro_reading"
Brian Silverman07ec88e2014-12-28 00:13:08 -08004message GyroReading {
5 // Positive is counter-clockwise (Austin says "it's Positive").
6 // Right-hand coordinate system around the Z-axis going up.
Austin Schuhc5a23752015-10-28 19:45:24 -07007 // The angle is measured in radians.
Brian Silverman07ec88e2014-12-28 00:13:08 -08008 double angle;
Austin Schuhc5a23752015-10-28 19:45:24 -07009 // The angular velocity in radians/sec
10 double velocity;
Brian Silverman07ec88e2014-12-28 00:13:08 -080011};
Brian Silverman07ec88e2014-12-28 00:13:08 -080012
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};