PX4 parameter group: Geofence
This page lists named parameter set commands in the PX4Geofence group. All commands use PARAM_SET and are governed by PX4_COMMAND_MODE, operator guard, and PX4_PARAMETER_WRITE_ALLOWLIST.
| Metric | Count |
|---|---|
| Parameters | 5 |
FLOAT | 2 |
INT32 | 3 |
Standard | 5 |
System | 0 |
Developer | 0 |
| Reboot required | 0 |
volatile | 0 |
Parameters
| PX4 Parameter | Command type | Category | Type | Default | Range | Unit | Shape | Reboot | Volatile | PX4 short description |
|---|---|---|---|---|---|---|---|---|---|---|
GF_ACTION | px4.parameter.gf_action.set | Standard | Int32 | 2 | 0..5 | - | enum 6 | no | no | Geofence violation action |
GF_MAX_HOR_DIST | px4.parameter.gf_max_hor_dist.set | Standard | Float | 0.0 | 0.0..10000.0 | m | - | no | no | Max horizontal distance from Home |
GF_MAX_VER_DIST | px4.parameter.gf_max_ver_dist.set | Standard | Float | 0.0 | 0.0..10000.0 | m | - | no | no | Max vertical distance from Home |
GF_PREDICT | px4.parameter.gf_predict.set | Standard | Int32 | 0 | - | - | enum 2 | no | no | [EXPERIMENTAL] Use Pre-emptive geofence triggering |
GF_SOURCE | px4.parameter.gf_source.set | Standard | Int32 | 0 | 0..1 | - | enum 2 | no | no | Geofence source |