set_nav
Set core fixed-wing navigation and return-to-home settings: RTH altitude, climb-first behavior, landing mode, and loiter radius. Dry-run by default; confirm to apply.
Instructions
Set core fixed-wing navigation / RTH parameters (atomic CLI write).
Only the arguments you pass are changed. Dry-run by default.
Args: rth_altitude_m: Return-to-home altitude, metres (nav_rth_altitude, stored cm). rth_climb_first: Climb to RTH altitude before heading home (nav_rth_climb_first). rth_allow_landing: NEVER | ALWAYS | FS_ONLY (nav_rth_allow_landing). loiter_radius_m: Fixed-wing loiter radius, metres (nav_fw_loiter_radius, stored cm). confirm: True to apply (save+reboot). Dry-run otherwise.
Gates: connected, not armed, auto-backup. RTH needs a working GPS and a home fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| rth_altitude_m | No | ||
| loiter_radius_m | No | ||
| rth_climb_first | No | ||
| rth_allow_landing | No |