Enabled manual override switch, work in progress. Added initial demix testing code to support delta mixing on the remote for convenient manual override

This commit is contained in:
Lorenz Meier
2012-12-01 16:30:21 +01:00
parent 2bfb672791
commit 126e6ac207
8 changed files with 113 additions and 40 deletions
+2 -2
View File
@@ -177,13 +177,13 @@ comms_handle_command(const void *buffer, size_t length)
for (unsigned i = 0; i < PX4IO_OUTPUT_CHANNELS; i++)
system_state.fmu_channel_data[i] = cmd->servo_command[i];
/* if the IO is armed and the FMU gets disarmed, the IO must also disarm */
/* if the IO is armed and FMU gets disarmed, IO must also disarm */
if(system_state.arm_ok && !cmd->arm_ok) {
system_state.armed = false;
}
system_state.arm_ok = cmd->arm_ok;
system_state.mixer_use_fmu = true;
system_state.mixer_fmu_available = true;
system_state.fmu_data_received = true;