CI: SITL test run: select ROS version based on env variable

This commit is contained in:
Anthony Lamping
2019-03-09 07:24:40 -05:00
committed by Daniel Agar
parent d085afdf3a
commit a9fc04b2f9
+1 -1
View File
@@ -3,7 +3,7 @@
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
PX4_SRC_DIR=${DIR}/..
source /opt/ros/kinetic/setup.bash
source /opt/ros/${ROS_DISTRO:-kinetic}/setup.bash
source ${PX4_SRC_DIR}/Tools/setup_gazebo.bash ${PX4_SRC_DIR} ${PX4_SRC_DIR}/build/px4_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:${PX4_SRC_DIR}:${PX4_SRC_DIR}/Tools/sitl_gazebo