sitl: use lockstep components API

- avoids the need for ekf2_timestamp publications by q and lpe
- adds logger to the lockstep cycle and makes it poll on ekf2_timestamps
  or vehicle_attitude. This avoids dropped samples (required for replay).
This commit is contained in:
Beat Küng
2020-06-23 11:53:55 -04:00
committed by Daniel Agar
parent 5378d1468f
commit 71dcf8d619
10 changed files with 102 additions and 165 deletions
+3 -3
View File
@@ -16,17 +16,17 @@ fi
if param compare SDLOG_MODE 1
then
set LOGGER_ARGS "-e"
set LOGGER_ARGS "${LOGGER_ARGS} -e"
fi
if param compare SDLOG_MODE 2
then
set LOGGER_ARGS "-f"
set LOGGER_ARGS "${LOGGER_ARGS} -f"
fi
if param compare SDLOG_MODE 3
then
set LOGGER_ARGS "-x"
set LOGGER_ARGS "${LOGGER_ARGS} -x"
fi
if ! param compare SDLOG_MODE -1