From 20b51d625603c4798410dc765507626acc4c7295 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 22 May 2018 17:39:00 +0200 Subject: [PATCH] sdflight config: weird changes to get things working - just use external mag, if they run together the sensor_mag_0 topic gets corrupted even though they publish on different instances - added sleep at two places, they resolve weird boot problems like params not being read correctly... Signed-off-by: Roman --- posix-configs/eagle/flight/px4.config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/posix-configs/eagle/flight/px4.config b/posix-configs/eagle/flight/px4.config index 52bca4b1cd..99578ac989 100644 --- a/posix-configs/eagle/flight/px4.config +++ b/posix-configs/eagle/flight/px4.config @@ -5,12 +5,14 @@ param set SYS_MC_EST_GROUP 2 sleep 1 gps start -d /dev/tty-4 param set MAV_TYPE 2 +sleep 1 df_hmc5883_wrapper start -df_mpu9250_wrapper start +df_mpu9250_wrapper start_without_mag df_bmp280_wrapper start df_trone_wrapper start #df_ltc2946_wrapper start # (currently not working on all boards...) #df_isl29501_wrapper start +sleep 1 sensors start commander start ekf2 start