找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 273|回复: 1

SENS_GPS_MASK

[复制链接]

130

主题

44

回帖

3万

积分

管理员

积分
39544
发表于 2025-8-7 11:54:04 | 显示全部楼层 |阅读模式
/**
* Multi GPS Blending Control Mask.
*
* Set bits in the following positions to set which GPS accuracy metrics will be used to calculate the blending weight. Set to zero to disable and always used first GPS instance.
* 0 : Set to true to use speed accuracy
* 1 : Set to true to use horizontal position accuracy
* 2 : Set to true to use vertical position accuracy
*
* @group Sensors
* @min 0
* @max 7
* @bit 0 use speed accuracy
* @bit 1 use hpos accuracy
* @bit 2 use vpos accuracy
*/
PARAM_DEFINE_INT32(SENS_GPS_MASK, 7);

参数定义位置:
/PX4-Autopilot/src/modules/sensors/vehicle_gps_position/params.c




130

主题

44

回帖

3万

积分

管理员

积分
39544
 楼主| 发表于 2025-8-7 14:39:35 | 显示全部楼层
全部启用(默认)

值:7(1+2+4)

效果:同时使用速度、水平、垂直精度计算融合权重。

仅水平位置精度

值:2(仅Bit 1启用)

效果:仅根据水平位置精度选择GPS信号。

速度 + 水平精度

值:3(1+2)

效果:忽略垂直精度,综合速度和水平精度。

禁用融合(强制使用第1个GPS)

值:0

效果:不计算权重,直接使用主GPS信号。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|flightreview|小黑屋|PX4-Autopilot|PX4论坛

GMT+8, 2026-1-27 05:44 , Processed in 0.050793 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表