fix(simulation): source ROS setup outside nounset

This commit is contained in:
DCCONSTRUCTIONS 2026-07-24 22:01:48 +03:00
parent 97a3775acf
commit a0e9597cb5
1 changed files with 2 additions and 0 deletions

View File

@ -59,10 +59,12 @@ if [[ ! -f "${ROS_SETUP}" || ! -f "${PX4_MSGS_SETUP}" ]]; then
exit 2 exit 2
fi fi
set +u
# shellcheck disable=SC1090 # shellcheck disable=SC1090
source "${ROS_SETUP}" source "${ROS_SETUP}"
# shellcheck disable=SC1090 # shellcheck disable=SC1090
source "${PX4_MSGS_SETUP}" source "${PX4_MSGS_SETUP}"
set -u
exec env \ exec env \
ROS_DOMAIN_ID=0 \ ROS_DOMAIN_ID=0 \