mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +08:00
fix(commander): capture home orientation on ground independent of local position (#27946)
This commit is contained in:
@@ -12,6 +12,13 @@ fi
|
||||
if [ -n "${PX4_HOME_ALT}" ]; then
|
||||
param set SIH_LOC_H0 ${PX4_HOME_ALT}
|
||||
fi
|
||||
if [ -n "${PX4_HOME_YAW}" ]; then
|
||||
param set SIH_LOC_YAW0 ${PX4_HOME_YAW}
|
||||
fi
|
||||
if [ -n "${PX4_SIM_GPS_USED}" ]; then
|
||||
# Override the simulated GPS satellite count (sensor_gps_sim). Used by tests to start with no fix
|
||||
param set SIM_GPS_USED ${PX4_SIM_GPS_USED}
|
||||
fi
|
||||
|
||||
if simulator_sih start; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user