fixes for integration and unit tests

Move ros logs dir so that .ulg files are not in the same directory
(mission_test.py:: get_last_log() fails otherwise)
This commit is contained in:
Beat Küng
2018-08-06 14:13:00 +02:00
committed by Lorenz Meier
parent 0edd7c93e1
commit 5363aff879
9 changed files with 50 additions and 19 deletions

View File

@@ -8,4 +8,7 @@ source ${PX4_SRC_DIR}/Tools/setup_gazebo.bash ${PX4_SRC_DIR} ${PX4_SRC_DIR}/buil
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:${PX4_SRC_DIR}:${PX4_SRC_DIR}/Tools/sitl_gazebo
export ROS_LOG_DIR="$HOME/.ros/ros_logs"
mkdir -p "$ROS_LOG_DIR"
rostest px4 "$@"