Skip to content
Snippets Groups Projects
Commit a9fc04b2 authored by Anthony Lamping's avatar Anthony Lamping Committed by Daniel Agar
Browse files

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

parent d085afdf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment