ardupilot/Rover/precision_landing.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
312 B
C++
Raw Permalink Normal View History

//
// functions to support precision landing
//
#include "Rover.h"
#if AC_PRECLAND_ENABLED
void Rover::init_precland()
{
rover.precland.init(400);
}
void Rover::update_precland()
{
// alt will be unused if we pass false through as the second parameter:
return precland.update(0, false);
}
#endif