Skip to content

Commit

Permalink
Merge pull request #954 from cyberbotics/sync-develop-a7596c75fdaf073…
Browse files Browse the repository at this point in the history
…2a99f7017547854bd47521043

Sync libcontroller develop
  • Loading branch information
omichel authored Aug 4, 2024
2 parents d5a012d + a7e050d commit 2c0bb97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def getTargets(self) -> List[RadarTarget]:
data = wb.wb_radar_get_targets(self._tag)
list = []
for i in range(number_of_targets):
list.append(RadarTarget(data[0], data[1], data[2], data[3]))
list.append(RadarTarget(data[0 + 4*i], data[1 + 4*i], data[2 + 4*i], data[3 + 4*i]))
return list

@property
Expand Down

0 comments on commit 2c0bb97

Please sign in to comment.