Add ids to flatbuffer fields in y2012, y2016, frc971, and aos
Change-Id: I9ed9006ce6224e2df0459df47771786b928164a1
diff --git a/frc971/codelab/basic_goal.fbs b/frc971/codelab/basic_goal.fbs
index cfde3ba..9509fa7 100644
--- a/frc971/codelab/basic_goal.fbs
+++ b/frc971/codelab/basic_goal.fbs
@@ -5,7 +5,7 @@
table Goal {
// If set to true, the intake should turn on the motor and run until the
// limit sensor in the Position message turns on.
- intake:bool;
+ intake:bool (id: 0);
}
root_type Goal;
diff --git a/frc971/codelab/basic_output.fbs b/frc971/codelab/basic_output.fbs
index 7f3b0b9..be27122 100644
--- a/frc971/codelab/basic_output.fbs
+++ b/frc971/codelab/basic_output.fbs
@@ -5,7 +5,7 @@
// hope to intake something. Voltages on our robots generally range from
// -12.0 V to +12.0V. In this case, the intake should be commanded to actually
// intake by setting the voltage to 12 V.
- intake_voltage:double;
+ intake_voltage:double (id: 0);
}
root_type Output;
diff --git a/frc971/codelab/basic_position.fbs b/frc971/codelab/basic_position.fbs
index 1420313..72d80d2 100644
--- a/frc971/codelab/basic_position.fbs
+++ b/frc971/codelab/basic_position.fbs
@@ -6,7 +6,7 @@
// 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;
+ limit_sensor: bool (id: 0);
}
root_type Position;
diff --git a/frc971/codelab/basic_status.fbs b/frc971/codelab/basic_status.fbs
index ec754b4..0aa2938 100644
--- a/frc971/codelab/basic_status.fbs
+++ b/frc971/codelab/basic_status.fbs
@@ -5,7 +5,7 @@
// be set to true by the intake subsystem when the Goal message is requesting
// the intake to be on and the limit sensor from the position message has
// been enabled.
- intake_complete:bool;
+ intake_complete:bool (id: 0);
}
root_type Status;