mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
autotest: check for the right version of JSBSim
This commit is contained in:
parent
370edde286
commit
e8c115b9c3
@ -302,6 +302,22 @@ case $VEHICLE in
|
||||
[ "$REVERSE_THROTTLE" == 1 ] && {
|
||||
EXTRA_SIM="$EXTRA_SIM --revthr"
|
||||
}
|
||||
jsbsim_version=$(JSBSim --version)
|
||||
if [[ $jsbsim_version != *"ArduPilot"* ]]
|
||||
then
|
||||
cat <<EOF
|
||||
=========================================================
|
||||
You need the latest ArduPilot version of JSBSim installed
|
||||
and in your \$PATH
|
||||
|
||||
Please get it from git://github.com/tridge/jsbsim.git
|
||||
See
|
||||
http://dev.ardupilot.com/wiki/simulation-2/sitl-simulator-software-in-the-loop/setting-up-sitl-on-linux/
|
||||
for more details
|
||||
=========================================================
|
||||
EOF
|
||||
exit 1
|
||||
fi
|
||||
RUNSIM="nice $autotest/jsbsim/runsim.py --home=$SIMHOME --simin=$SIMIN_PORT --simout=$SIMOUT_PORT --fgout=$FG_PORT $EXTRA_SIM"
|
||||
PARMS="ArduPlane.parm"
|
||||
if [ $WIPE_EEPROM == 1 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user