Closed mchlswyr closed 3 years ago
- This change was made here as a fix for Issue #56
- But, I don't think the
EVALUATION_MODE
check is necessary for the fix; just the part that checks ifself.last_plan
was set is needed for the fix
@rodrigoqueiroz Is this correct?
- This change was made here as a fix for Issue #56
- But, I don't think the
EVALUATION_MODE
check is necessary for the fix; just the part that checks ifself.last_plan
was set is needed for the fix@rodrigoqueiroz Is this correct?
No. If not in evaluation mode, it should always block and use the target time. That workaround (non blocking) should only be used in evaluation mode
if EVALUATION_MODE:
(...)
else:
sync_planner.end_task() #blocks if < target
task_delta_time = sync_planner.get_task_time() %<<<<<<<<<<<<<<this is the missing line causing the bug
Issue
GeoScenarioServer.log
:Solution
sv/SDVPlanner.py
,task_delta_time
depends onEVALUATION_MODE
being set toTrue
inSimConfig.py
EVALUATION_MODE
check is necessary for the fix; just the part that checks ifself.last_plan
was set is needed for the fixTesting
~/anm_unreal_sim/submodules/anm_sim_platform/scripts/launch.bash
for testing:replace
with