5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-03-09 08:04:14 -03:00
ardupilot/APMrover2/commands_process.pde
2014-03-19 12:11:30 +09:00

13 lines
321 B
Plaintext

/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// called by update navigation at 10Hz
// --------------------
static void update_commands(void)
{
if(control_mode == AUTO) {
if(home_is_set == true && mission.num_commands() > 1) {
mission.update();
}
}
}