Skip to content

Commit

Permalink
added usage of PX4_HOME_ALT
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio-Chies committed Jul 5, 2024
1 parent 7c4d127 commit 64f8637
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ROMFS/px4fmu_common/init.d-posix/px4-rc.simulator
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 64f8637

Please sign in to comment.