mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
chore(sim): gz_cessna & gz_x500 require the MAGSIM parameter in simulation
This commit is contained in:
@@ -78,3 +78,6 @@ param set-default SIM_GZ_SV_FUNC3 203
|
|||||||
param set-default SIM_GZ_SV_FUNC4 204
|
param set-default SIM_GZ_SV_FUNC4 204
|
||||||
param set-default SIM_GZ_SV_FUNC5 205
|
param set-default SIM_GZ_SV_FUNC5 205
|
||||||
param set-default SIM_GZ_SV_FUNC6 206
|
param set-default SIM_GZ_SV_FUNC6 206
|
||||||
|
|
||||||
|
# Start simulated magnetometer
|
||||||
|
param set-default SENS_EN_MAGSIM 1
|
||||||
|
|||||||
@@ -8,3 +8,6 @@
|
|||||||
PX4_SIM_MODEL=${PX4_SIM_MODEL:=x500_mono_cam}
|
PX4_SIM_MODEL=${PX4_SIM_MODEL:=x500_mono_cam}
|
||||||
|
|
||||||
. ${R}etc/init.d-posix/airframes/4001_gz_x500
|
. ${R}etc/init.d-posix/airframes/4001_gz_x500
|
||||||
|
|
||||||
|
# Start simulated magnetometer
|
||||||
|
param set-default SENS_EN_MAGSIM 1
|
||||||
|
|||||||
Reference in New Issue
Block a user