Clean up the basic codelab
The config was incomplete because it didn't include timing reports, and
wasn't even using the standard config process anyways. The comments were
also out of date due to the flatbuffers transition, and I added in a bit
more boilerplate in the RunIteration function, since handling the
flatbuffer builders is a bit less trivial than the queues were.
Change-Id: I6a9b12ca6c925b561211937fcf36d932299946d2
diff --git a/frc971/codelab/basic_position.fbs b/frc971/codelab/basic_position.fbs
new file mode 100644
index 0000000..1420313
--- /dev/null
+++ b/frc971/codelab/basic_position.fbs
@@ -0,0 +1,12 @@
+namespace frc971.codelab;
+
+table Position {
+ // The limit sensor being set to true indicates that we should stop turning on
+ // the intake motors--in a real robot, we might have an intake that pulls a
+ // ball in, and the ball then hits a limit sensor when it is fully contained.
+ // We would then want to stop running the intake to avoid spinning the intake
+ // against the ball.
+ limit_sensor: bool;
+}
+
+root_type Position;