Skip to content

Commit 433f2ba

Browse files
authored
Fix python getRangeImageArray API function name (#6080)
* Fix python getRangeImageArray API function name * Update changelog-r2023.md * Update changelog-r2023.md
1 parent 360298d commit 433f2ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/reference/changelog-r2023.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Released on ??
2424
- `Field.enableSFTracking` and `Field.disableSFTracking` which were failing ([#5640](https://github.com/cyberbotics/webots/pull/5640)).
2525
- `Motor.enableForceFeedback` where the `sampling_period` argument was missing ([#5797](https://github.com/cyberbotics/webots/pull/5797)).
2626
- `Motor.setAcceleration` was missing the device tag parameter ([#6036](https://github.com/cyberbotics/webots/pull/6036)).
27+
- `Lidar.getRangeImageArray` had a typo in its name ([#6080](https://github.com/cyberbotics/webots/issues/6080)).
2728
- Fixed crash resulting from requesting pose tracking of unsuitable nodes ([#5620](https://github.com/cyberbotics/webots/pull/5620)).
2829
- Fixed memory leaks, particularly when in no-rendering mode and spawning/deleting nodes ([#5639](https://github.com/cyberbotics/webots/pull/5639)).
2930
- Fixed crashes resulting from streaming pose, SF field values or contact points after deleting the tracked nodes ([#5638](https://github.com/cyberbotics/webots/pull/5638)).

lib/controller/python/controller/lidar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def getNumberOfPoints(self) -> int:
7373
def getRangeImage(self) -> List[float]:
7474
return self.range_image[:self.horizontal_resolution * self.number_of_layers]
7575

76-
def defRangeImageArray(self) -> List[List[float]]:
76+
def getRangeImageArray(self) -> List[List[float]]:
7777
array = []
7878
for i in range(self.number_of_layers):
7979
array.append(self.getLayerRangeImage(i))

0 commit comments

Comments
 (0)