mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
Fix scene path for jsbsim (#24568)
The sitl_run script was misdirecting FG_AIRCRAFT when running flightgear GUI
This commit is contained in:
@@ -70,7 +70,7 @@ export JSBSIM_AIRCRAFT_MODEL="$MODEL_NAME"
|
|||||||
if [[ -n "$HEADLESS" ]]; then
|
if [[ -n "$HEADLESS" ]]; then
|
||||||
echo "not running flightgear gui"
|
echo "not running flightgear gui"
|
||||||
else
|
else
|
||||||
export FG_AIRCRAFT="${SRC_DIR}/Tools/simulation/jsbsim/jsbsim_bridge/models"
|
export FG_AIRCRAFT="${src_path}/Tools/simulation/jsbsim/jsbsim_bridge/models"
|
||||||
|
|
||||||
$FG_BINARY --fdm=null \
|
$FG_BINARY --fdm=null \
|
||||||
--native-fdm=socket,in,60,,5550,udp \
|
--native-fdm=socket,in,60,,5550,udp \
|
||||||
|
|||||||
Reference in New Issue
Block a user