Force ignition to use version 5 (edifice) which is what it is built for so it doesn't default to a newer version

This commit is contained in:
Justin 2022-02-19 08:46:07 -05:00 committed by JaeyoungLim
parent d147ad3a9a
commit 59f28517c5
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ elif [ "$program" == "ignition" ] && [ -z "$no_sim" ]; then
ignition_headless=""
fi
source "$src_path/Tools/setup_ignition.bash" "${src_path}" "${build_path}"
ign gazebo ${verbose} ${ignition_headless} -r "${src_path}/Tools/simulation-ignition/worlds/${model}.world"&
ign gazebo --force-version 5 ${verbose} ${ignition_headless} -r "${src_path}/Tools/simulation-ignition/worlds/${model}.world"&
elif [ "$program" == "flightgear" ] && [ -z "$no_sim" ]; then
echo "FG setup"
cd "${src_path}/Tools/flightgear_bridge/"