blob: 72d80d2043736c79c4036be5f370344126ca1dad [file] [log] [blame]
James Kuszmaul78e29ac2020-07-28 21:07:03 -07001namespace frc971.codelab;
2
3table 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 Jonesfb6a7a52020-11-14 13:47:46 -08009 limit_sensor: bool (id: 0);
James Kuszmaul78e29ac2020-07-28 21:07:03 -070010}
11
12root_type Position;