mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
13 lines
270 B
C++
13 lines
270 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();
|
|
}
|
|
}
|
|
}
|