Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 1 | namespace frc971.sensors; |
2 | |||||
3 | // Published on "/drivetrain" | ||||
4 | table GyroReading { | ||||
5 | // Positive is counter-clockwise (Austin says "it's Positive"). | ||||
6 | // Right-hand coordinate system around the Z-axis going up. | ||||
7 | // The angle is measured in radians. | ||||
8 | angle:double; | ||||
9 | // The angular velocity in radians/sec | ||||
10 | velocity:double; | ||||
11 | } | ||||
12 | |||||
13 | // Published on "/drivetrain" | ||||
14 | table Uid { | ||||
15 | uid:uint; | ||||
16 | } | ||||
17 | |||||
18 | root_type GyroReading; |