Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 1 | namespace y2016.sensors; |
Comran Morshed | aa0573c | 2016-03-05 19:05:54 +0000 | [diff] [blame] | 2 | |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 3 | // Published on "/superstructure" |
| 4 | table BallDetector { |
Comran Morshed | aa0573c | 2016-03-05 19:05:54 +0000 | [diff] [blame] | 5 | // Voltage measured by the ball detector sensor. |
| 6 | |
| 7 | // Higher voltage means ball is closer to detector, lower voltage means ball |
| 8 | // is far from the sensor or not in the robot at all. |
| 9 | // TODO(comran): Check to see if our sensor's output corresponds with the |
| 10 | // comment above. |
| 11 | |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 12 | voltage:double; |
| 13 | } |
| 14 | |
| 15 | root_type BallDetector; |