sim: refactor startup scripts and fix gz sim standalone (#24600)

* sim: refactor px4-rc.simulator into sim specific startup scripts. Fix gz sim for standalone mode.

* shellcheck disable=SC2154
This commit is contained in:
Jacob Dahl
2025-03-25 09:49:03 -08:00
committed by Ramon Roche
parent bd838a5ddf
commit dc885169f3
@@ -1,6 +1,8 @@
#!/bin/sh
# shellcheck disable=SC2154
echo "INFO [init] Gazebo simulator"
# Enforce minimum gz version as Harmonic (gz-sim8)
MIN_GZ_VERSION="8.0.0"
GZ_SIM_VERSION=$(gz sim --versions 2>/dev/null | head -n 1 | tr -d ' ')