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. |
Ravago Jones | fb6a7a5 | 2020-11-14 13:47:46 -0800 | [diff] [blame] | 9 | limit_sensor: bool (id: 0); |
James Kuszmaul | 78e29ac | 2020-07-28 21:07:03 -0700 | [diff] [blame] | 10 | } |
| 11 | |
| 12 | root_type Position; |