mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 06:33:33 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user