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:
Julian Oes 2019-03-27 10:55:16 +01:00
parent 463d5512d9
commit 187f3f2834
3 changed files with 11 additions and 4 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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)