|
Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
|
#include <auterion_sdk/control/multicopter/guidance_strategy.hpp>
Public Member Functions | |
| virtual GuidanceOutput | compute (const GuidanceInput &input)=0 |
| virtual void | onActivate () |
| Called when the flight mode is activated. Reset internal state here. | |
| virtual void | onDeactivate () |
| Called when the flight mode is deactivated. | |
Abstract interface every guidance strategy must implement.
Implement this in your application. The host accepts any implementation via dependency injection — platform safety and controller wiring are handled for you.
Implementations may be stateful (phase tracking, integrators, timers). The host calls compute() exactly once per control tick on the same thread.
|
pure virtual |
Called once per control tick. All guidance decisions happen here.
| input | LOS, drone state, mode flags, operator input. |