Skip to content

Commit

Permalink
fix(perception-module): properly using getter of lazy-loading length
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Schweppenhäuser <[email protected]>
  • Loading branch information
schwepmo committed Dec 5, 2024
1 parent 76edab0 commit 103693c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void initialize() {
wall.getFromCorner().getCartesianPosition().toVector3d(),
wall.getToCorner().getCartesianPosition().toVector3d()
));
if (wall.length > maxWallLength) {
if (wall.getLength() > maxWallLength) {
maxWallLength = wall.getLength();
}
}
Expand Down

0 comments on commit 103693c

Please sign in to comment.