ardupilot/APMrover2/commands_process.cpp
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00

13 lines
269 B
C++

#include "Rover.h"
// called by update navigation at 10Hz
// --------------------
void Rover::update_commands(void)
{
if(control_mode == AUTO) {
if (home_is_set != HOME_UNSET && mission.num_commands() > 1) {
mission.update();
}
}
}