mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 23:23:33 +08:00
fix rangefinder params
This commit is contained in:
@@ -8,3 +8,6 @@
|
|||||||
PX4_SIM_MODEL=${PX4_SIM_MODEL:=x500_lidar_down}
|
PX4_SIM_MODEL=${PX4_SIM_MODEL:=x500_lidar_down}
|
||||||
|
|
||||||
. ${R}etc/init.d-posix/airframes/4001_gz_x500
|
. ${R}etc/init.d-posix/airframes/4001_gz_x500
|
||||||
|
|
||||||
|
param set-default EKF2_RNG_POS_Z -0.177
|
||||||
|
param set-default EKF2_MIN_RNG 0
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ parameters:
|
|||||||
EKF2_RNG_POS_X:
|
EKF2_RNG_POS_X:
|
||||||
description:
|
description:
|
||||||
short: X position of range finder origin in body frame
|
short: X position of range finder origin in body frame
|
||||||
long: Forward axis with origin relative to vehicle centre of gravity
|
long: Forward axis (roll) with origin relative to vehicle centre of gravity
|
||||||
type: float
|
type: float
|
||||||
default: 0.0
|
default: 0.0
|
||||||
unit: m
|
unit: m
|
||||||
@@ -127,7 +127,7 @@ parameters:
|
|||||||
EKF2_RNG_POS_Y:
|
EKF2_RNG_POS_Y:
|
||||||
description:
|
description:
|
||||||
short: Y position of range finder origin in body frame
|
short: Y position of range finder origin in body frame
|
||||||
long: Forward axis with origin relative to vehicle centre of gravity
|
long: Right axis (pitch) with origin relative to vehicle centre of gravity
|
||||||
type: float
|
type: float
|
||||||
default: 0.0
|
default: 0.0
|
||||||
unit: m
|
unit: m
|
||||||
@@ -135,7 +135,7 @@ parameters:
|
|||||||
EKF2_RNG_POS_Z:
|
EKF2_RNG_POS_Z:
|
||||||
description:
|
description:
|
||||||
short: Z position of range finder origin in body frame
|
short: Z position of range finder origin in body frame
|
||||||
long: Forward axis with origin relative to vehicle centre of gravity
|
long: Down axis (yaw) with origin relative to vehicle centre of gravity
|
||||||
type: float
|
type: float
|
||||||
default: 0.0
|
default: 0.0
|
||||||
unit: m
|
unit: m
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ parameters:
|
|||||||
where the range finder may be inside its minimum measurements distance when
|
where the range finder may be inside its minimum measurements distance when
|
||||||
on ground.
|
on ground.
|
||||||
type: float
|
type: float
|
||||||
default: 0.1
|
default: 0
|
||||||
min: 0.01
|
min: 0
|
||||||
unit: m
|
unit: m
|
||||||
decimal: 2
|
decimal: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user