From d34edfd435d81576766a9867f3a966e4b3dc9d08 Mon Sep 17 00:00:00 2001 From: Andreas Antener Date: Wed, 25 May 2016 22:28:13 +0200 Subject: [PATCH] changed mavros connection string, updated gazebo sitl build process --- integrationtests/run_tests.bash | 6 +----- integrationtests/setup_gazebo_ros.bash | 2 ++ launch/mavros_posix_sitl.launch | 3 ++- launch/posix_sitl.launch | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/integrationtests/run_tests.bash b/integrationtests/run_tests.bash index 6707af90aa..6894252a56 100755 --- a/integrationtests/run_tests.bash +++ b/integrationtests/run_tests.bash @@ -43,11 +43,7 @@ ln -s ${SRC_DIR} /root/Firmware echo "=====> compile ($SRC_DIR)" cd $SRC_DIR make ${BUILD} -mkdir -p Tools/sitl_gazebo/Build -cd Tools/sitl_gazebo/Build -cmake -Wno-dev .. -make -j4 -make sdf +make --no-print-directory gazebo_build echo "<=====" # don't exit on error anymore from here on (because single tests or exports might fail) diff --git a/integrationtests/setup_gazebo_ros.bash b/integrationtests/setup_gazebo_ros.bash index 7655fec9a7..f02943eb3d 100755 --- a/integrationtests/setup_gazebo_ros.bash +++ b/integrationtests/setup_gazebo_ros.bash @@ -18,3 +18,5 @@ export GAZEBO_MODEL_PATH=${GAZEBO_MODEL_PATH}:${SRC_DIR}/Tools/sitl_gazebo/model export GAZEBO_PLUGIN_PATH=${SRC_DIR}/Tools/sitl_gazebo/Build/:${GAZEBO_PLUGIN_PATH} export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${SRC_DIR}/Tools/sitl_gazebo/Build/msgs/ export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:${SRC_DIR} +export GAZEBO_MODEL_DATABASE_URI="" +export SITL_GAZEBO_PATH=$SRC_DIR/Tools/sitl_gazebo diff --git a/launch/mavros_posix_sitl.launch b/launch/mavros_posix_sitl.launch index 905e0a2ff1..32a21fcf3b 100644 --- a/launch/mavros_posix_sitl.launch +++ b/launch/mavros_posix_sitl.launch @@ -6,6 +6,7 @@ + @@ -17,6 +18,6 @@ - + diff --git a/launch/posix_sitl.launch b/launch/posix_sitl.launch index 4e3b71f70c..9895ee9d43 100644 --- a/launch/posix_sitl.launch +++ b/launch/posix_sitl.launch @@ -7,7 +7,7 @@ - +