SIH - change how LAT and LON is used for Takeoff location (#23363)

change how lat long is used for SIH
This commit is contained in:
Claudio Chies
2024-07-08 14:51:08 +02:00
committed by GitHub
parent 4bc0286eb8
commit aed0fd41cf
4 changed files with 16 additions and 15 deletions
@@ -15,6 +15,9 @@ if [ "$PX4_SIMULATOR" = "sihsim" ] || [ "$(param show -q SYS_AUTOSTART)" -eq "0"
if [ -n "${PX4_HOME_LON}" ]; then
param set SIH_LOC_LON0 ${PX4_HOME_LON}
fi
if [ -n "${PX4_HOME_ALT}" ]; then
param set SIH_LOC_H0 ${PX4_HOME_ALT}
fi
if simulator_sih start; then