Skip to content

Commit

Permalink
Merge branch 'master' into publicblueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
Daraan authored Oct 25, 2024
2 parents ebf8778 + b10e14d commit ce1c1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srunner/tools/openscenario_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def get_traffic_light_from_osc_name(name):
elif name.startswith("pos="):
tl_pos = name[4:]
pos = tl_pos.split(",")
for carla_tl in CCarlaDataProvider.get_all_actors().filter('traffic.traffic_light'):
for carla_tl in CarlaDataProvider.get_all_actors().filter('traffic.traffic_light'):
carla_tl_location = carla_tl.get_transform().location
distance = carla_tl_location.distance(carla.Location(float(pos[0]),
float(pos[1]),
Expand Down

0 comments on commit ce1c1b5

Please sign in to comment.