From be2451cfc7812ca56d7474aa4dd125d30ca124e7 Mon Sep 17 00:00:00 2001
From: Andreas Antener <antener_a@gmx.ch>
Date: Mon, 12 Dec 2016 21:41:24 +0100
Subject: [PATCH] SITL: use logger for standard_vtol and upload *.ulg files
 after integrationtests

---
 integrationtests/run_tests.bash            | 3 +--
 posix-configs/SITL/init/ekf2/standard_vtol | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/integrationtests/run_tests.bash b/integrationtests/run_tests.bash
index 6bbe78da37..924e68d457 100755
--- a/integrationtests/run_tests.bash
+++ b/integrationtests/run_tests.bash
@@ -108,9 +108,8 @@ cp -r $PX4_LOG_DIR/* ${TEST_RESULT_TARGET_DIR}
 # cp $BAGS/*.bag ${TEST_RESULT_TARGET_DIR}/
 # cp -r $CHARTS ${TEST_RESULT_TARGET_DIR}/
 
-
 echo "uploading test logs to Flight Review"
-for LOG in `ls $PX4_LOG_DIR/**/*.px4log`
+for LOG in `ls $PX4_LOG_DIR/**/*.ulg`
 do
 	LINK=`$SRC_DIR/Tools/upload_log.py -q --source CI $LOG`
 	echo "Test log: $LINK"
diff --git a/posix-configs/SITL/init/ekf2/standard_vtol b/posix-configs/SITL/init/ekf2/standard_vtol
index 818b12f9f9..e1015223fe 100644
--- a/posix-configs/SITL/init/ekf2/standard_vtol
+++ b/posix-configs/SITL/init/ekf2/standard_vtol
@@ -84,6 +84,6 @@ mavlink stream -r 80 -s ATTITUDE_TARGET -u 14556
 mavlink stream -r 20 -s RC_CHANNELS -u 14556
 mavlink stream -r 250 -s HIGHRES_IMU -u 14556
 mavlink stream -r 10 -s OPTICAL_FLOW_RAD -u 14556
-sdlog2 start -r 200 -e -t -a
+logger start -e -t
 mavlink boot_complete
 replay trystart
-- 
GitLab