Comran Morshed | aa0573c | 2016-03-05 19:05:54 +0000 | [diff] [blame^] | 1 | package y2016.sensors; |
2 | |||||
3 | message BallDetector { | ||||
4 | // Voltage measured by the ball detector sensor. | ||||
5 | |||||
6 | // Higher voltage means ball is closer to detector, lower voltage means ball | ||||
7 | // is far from the sensor or not in the robot at all. | ||||
8 | // TODO(comran): Check to see if our sensor's output corresponds with the | ||||
9 | // comment above. | ||||
10 | |||||
11 | double voltage; | ||||
12 | }; | ||||
13 | queue BallDetector ball_detector; |