mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
ROS tests move to test/ and new Jenkins
This commit is contained in:
committed by
Lorenz Meier
parent
f46db40b10
commit
63deb40a76
11
test/rostest_px4_run.sh
Executable file
11
test/rostest_px4_run.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#! /bin/bash
|
||||
|
||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
PX4_SRC_DIR=${DIR}/..
|
||||
|
||||
source /opt/ros/kinetic/setup.bash
|
||||
source ${PX4_SRC_DIR}/Tools/setup_gazebo.bash ${PX4_SRC_DIR} ${PX4_SRC_DIR}/build/posix_sitl_default
|
||||
|
||||
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:${PX4_SRC_DIR}:${PX4_SRC_DIR}/Tools/sitl_gazebo
|
||||
|
||||
rostest px4 "$@"
|
||||
Reference in New Issue
Block a user