mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 07:53:34 +08:00
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:
+2
-2
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user