Skip to content
Snippets Groups Projects
Commit 28f5d0c0 authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

refactoring

parent 7234b44a
No related branches found
No related tags found
No related merge requests found
......@@ -211,6 +211,7 @@ def random_schedule_generator(speed_ratio_map: Mapping[float, float] = None) ->
if len(valid_starting_directions) == 0:
re_generate = True
update_agents[i] = 1
print("reset position for agents:",i, agents_position[i],agents_target[i])
break
else:
agents_direction[i] = valid_starting_directions[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment