px4.parameter.ekf2_gps_ctrl.set
Open Platform PX4 parameter command. PX4 parameter: EKF2_GPS_CTRL
Sets EKF2 GNSS aiding. This is a bitmask parameter; each bit enables one GNSS fusion input.
Request Params
Fixed
px4.parameter.ekf2_gps_ctrl.setBitmask object; set
bits to a value in range 0~15Bitmask
| bit | value | Meaning |
|---|---|---|
| 0 | 1 | Longitude and latitude fusion |
| 1 | 2 | Altitude fusion |
| 2 | 4 | 3D velocity fusion |
| 3 | 8 | Dual antenna heading fusion |
7 enables bits 0, 1, and 2.
PX4 Frame Mapping
- PX4 source:
docs/px4/build/px4_sitl_default/parameters.json - PX4 handler:
docs/px4/src/modules/mavlink/mavlink_parameters.cpp - PX4 parameter:
EKF2_GPS_CTRL - Parameter type:
int32 - Default:
7 - Range:
0~15 - Cloud write policy: guarded allowlist only
- MAVLink frame:
PARAM_SET - Guard:
PX4_PARAMETER_WRITE_ALLOWLISTmust containEKF2_GPS_CTRL