mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 14:47:44 +08:00
replay: use lockstep scheduler
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user