|
Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
|
Options for SDK run() method. More...
#include <auterion_sdk/auterion.hpp>
Public Member Functions | |
| RunOptions & | withSkipFlightControllerConnectionCheck (bool skip) |
| Skip the check for flight controller connection. | |
| RunOptions & | withSkipMessageCompatibilityCheck (bool skip) |
| Skip the check for message compatibility. | |
| RunOptions & | withFlightControllerConnectionTimeout (std::chrono::seconds timeout) |
| Set the timeout for the flight controller connection check. | |
| void | validate () const |
Public Attributes | |
| bool | skip_flight_controller_connection_check {false} |
| bool | skip_message_compatibility_check {true} |
| std::chrono::seconds | flight_controller_connection_timeout {15} |
|
inline |
Set the timeout for the flight controller connection check.
On cold boot, DDS endpoint discovery can take longer than expected, causing the default timeout to be insufficient. Increase this if the app restarts due to "Timed out waiting for FMU" errors during boot.
Default: 15s.
| timeout | The timeout duration. |
|
inline |
Skip the check for flight controller connection.
This check is enabled by default.
| skip | If true, the flight controller connection check is skipped. |
|
inline |
Skip the check for message compatibility.
Skipping this check makes sense for devices using the translation node, which allows applications and the flight controller to communicate despite mismatched message definitions.
Enabling this check requires that the flight controller check is enabled.
This check is disabled by default.
| skip | If true, the message compatibility check is skipped. |