Skip to content

Commit bb8bf61

Browse files
committed
refactor: fix typo
1 parent 9b42796 commit bb8bf61

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

adf_core_python/implement/module/algorithm/a_star_path_planning.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ def __init__(
2626
super().__init__(
2727
agent_info, world_info, scenario_info, module_manager, develop_data
2828
)
29-
entitites: list[Entity] = self._world_info.get_entities_of_types([Area])
29+
entities: list[Entity] = self._world_info.get_entities_of_types([Area])
3030
self._graph: dict[EntityID, set[EntityID]] = {}
31-
for entity in entitites:
31+
for entity in entities:
3232
if isinstance(entity, Area):
3333
self._graph[entity.get_id()] = set(
34-
neighbour
35-
for neighbour in entity.get_neighbours()
36-
if neighbour != EntityID(0)
34+
neighbor
35+
for neighbor in entity.get_neighbours() # TODO: Fix rcrs_core typo
36+
if neighbor != EntityID(0)
3737
)
3838

3939
def get_path(

0 commit comments

Comments
 (0)