James Kuszmaul | 78e29ac | 2020-07-28 21:07:03 -0700 | [diff] [blame] | 1 | namespace frc971.codelab; |
2 | |||||
3 | table Position { | ||||
4 | // The limit sensor being set to true indicates that we should stop turning on | ||||
5 | // the intake motors--in a real robot, we might have an intake that pulls a | ||||
6 | // ball in, and the ball then hits a limit sensor when it is fully contained. | ||||
7 | // We would then want to stop running the intake to avoid spinning the intake | ||||
8 | // against the ball. | ||||
9 | limit_sensor: bool; | ||||
10 | } | ||||
11 | |||||
12 | root_type Position; |