mavlink / MAVSDK-Java

MAVSDK client for Java.
68 stars 40 forks source link

How to adjust safety parameters (RTL on RC loss, Data Link Loss Trigger, etc) using the SDK APIs? #152

Closed rayw-dronesense closed 4 months ago

rayw-dronesense commented 4 months ago

I can arm the aircraft, take off, and send RC manual controls and can adjust RTL altitude. But I can't seem to find a way to adjust the other safety settings...could you please help? Thanks!

The Android API appears to be based on https://github.com/mavlink/MAVSDK-Proto/tree/main/protos

JonasVautherin commented 4 months ago

Aren't those just params of the autopilot? If yes you can just use the params plugin of MAVSDK.

julianoes commented 4 months ago

Yes, it would be done using params.

The parameters are listed here: https://docs.px4.io/v1.14/en/advanced_config/parameter_reference.html#NAV_RCL_ACT