mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 15:08:28 -04:00
20 lines
283 B
C++
20 lines
283 B
C++
#include "mode.h"
|
|
#include "Plane.h"
|
|
|
|
bool ModeAvoidADSB::_enter()
|
|
{
|
|
return plane.mode_guided.enter();
|
|
}
|
|
|
|
void ModeAvoidADSB::update()
|
|
{
|
|
plane.mode_guided.update();
|
|
}
|
|
|
|
void ModeAvoidADSB::navigate()
|
|
{
|
|
// Zero indicates to use WP_LOITER_RAD
|
|
plane.update_loiter(0);
|
|
}
|
|
|