ardupilot/APMrover2/commands_process.cpp

15 lines
341 B
C++
Raw Permalink Normal View History

/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
2015-05-13 00:16:45 -03:00
#include "Rover.h"
// called by update navigation at 10Hz
// --------------------
void Rover::update_commands(void)
{
if(control_mode == AUTO) {
if(home_is_set == true && mission.num_commands() > 1) {
mission.update();
}
}
}