Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
Loading...
Searching...
No Matches
auterion::IGuidanceStrategy Class Referenceabstract

#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.
 

Detailed Description

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.

Member Function Documentation

◆ compute()

virtual GuidanceOutput auterion::IGuidanceStrategy::compute ( const GuidanceInput input)
pure virtual

Called once per control tick. All guidance decisions happen here.

Parameters
inputLOS, drone state, mode flags, operator input.
Returns
Acceleration command and controller flags.

The documentation for this class was generated from the following file: