replay: use lockstep scheduler

This commit is contained in:
Beat Küng
2020-06-18 17:21:05 +02:00
committed by Daniel Agar
parent 71dcf8d619
commit 157ef43e28
8 changed files with 64 additions and 63 deletions
@@ -16,5 +16,4 @@ param set SDLOG_DIRS_MAX 7
replay tryapplyparams
ekf2 start -r
logger start -f -t -b 1000 -p vehicle_attitude
sleep 0.2
replay start
+5 -2
View File
@@ -240,8 +240,11 @@ then
fi
dataman start
replay tryapplyparams
simulator start -c $simulator_tcp_port
# only start the simulator if not in replay mode, as both control the lockstep time
if ! replay tryapplyparams
then
simulator start -c $simulator_tcp_port
fi
tone_alarm start
rc_update start
sensors start