forked from Archive/PX4-Autopilot
SITL: interim fix for replay
The replay functionality was broken with lockstep. This is an interim fix for the replay functionality. In the longer term it would be nice to leverage the lockstep speedup for the replay.
This commit is contained in:
parent
463d5512d9
commit
187f3f2834
|
@ -97,6 +97,9 @@ set(REPLAY_FILE "$ENV{replay}")
|
|||
if(REPLAY_FILE)
|
||||
message("Building with uorb publisher rules support")
|
||||
add_definitions(-DORB_USE_PUBLISHER_RULES)
|
||||
endif()
|
||||
|
||||
set(ENABLE_LOCKSTEP_SCHEDULER yes)
|
||||
message("Building without lockstep for replay")
|
||||
set(ENABLE_LOCKSTEP_SCHEDULER no)
|
||||
else()
|
||||
set(ENABLE_LOCKSTEP_SCHEDULER yes)
|
||||
endif()
|
||||
|
|
|
@ -98,6 +98,9 @@ set(REPLAY_FILE "$ENV{replay}")
|
|||
if(REPLAY_FILE)
|
||||
message("Building with uorb publisher rules support")
|
||||
add_definitions(-DORB_USE_PUBLISHER_RULES)
|
||||
endif()
|
||||
|
||||
set(ENABLE_LOCKSTEP_SCHEDULER yes)
|
||||
message("Building without lockstep for replay")
|
||||
set(ENABLE_LOCKSTEP_SCHEDULER no)
|
||||
else()
|
||||
set(ENABLE_LOCKSTEP_SCHEDULER yes)
|
||||
endif()
|
||||
|
|
|
@ -99,4 +99,5 @@ if(REPLAY_FILE)
|
|||
add_definitions(-DORB_USE_PUBLISHER_RULES)
|
||||
endif()
|
||||
|
||||
message("Building without lockstep for test")
|
||||
set(ENABLE_LOCKSTEP_SCHEDULER no)
|
||||
|
|
Loading…
Reference in New Issue