made sending fake joystick messages for testing easier
diff --git a/aos/common/messages/RobotState.q b/aos/common/messages/RobotState.q
index 32baa05..696bf2c 100644
--- a/aos/common/messages/RobotState.q
+++ b/aos/common/messages/RobotState.q
@@ -4,6 +4,12 @@
bool enabled;
bool autonomous;
uint16_t team_id;
+ // If this is true, then this message isn't actually from the control
+ // system and so should not be trusted as evidence that the button inputs
+ // etc are actually real and should be acted on.
+ // However, most things should ignore this so that sending fake messages is
+ // useful for testing.
+ bool fake;
};
// The robot_state Queue is checked by all control loops to make sure that the