mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 03:13:44 +08:00
CI: SITL test run: select ROS version based on env variable
This commit is contained in:
committed by
Daniel Agar
parent
d085afdf3a
commit
a9fc04b2f9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user