still run the motor_writer code with fake joystick data
diff --git a/aos/prime/output/motor_output.cc b/aos/prime/output/motor_output.cc
index 54add2d..af9632b 100644
--- a/aos/prime/output/motor_output.cc
+++ b/aos/prime/output/motor_output.cc
@@ -53,14 +53,14 @@
values_.compressor_channel = 0;
values_.solenoid_module = -1;
+ RunIteration();
+
::aos::robot_state.FetchLatest();
if (!::aos::robot_state.get() || ::aos::robot_state->fake) {
LOG(DEBUG, "fake robot state -> not outputting\n");
continue;
}
- RunIteration();
-
char buffer[sizeof(values_) + ::buffers::kOverhead];
ssize_t size = values_.SerializeTo(buffer, sizeof(buffer));
if (size <= 0) {