This commit removes the readarray command from the Tools/sitl_run.sh.
This fixes the issue where SITL was not able to run due to readarray not being available on macOS
echo"Model ${model} not found in model path: ${GAZEBO_MODEL_PATH}"
exit1
else
echo"Using: ${modelpath}/${model}/${model}.sdf"
fi
while gz model --verbose --spawn-file="${modelpath}/${model}/${model_name}.sdf" --model-name=${model} -x 1.01 -y 0.98 -z 0.83 2>&1| grep -q "An instance of Gazebo is not running.";do