Skip to content

Commit b7a5fd0

Browse files
committed
Fixed small typo in point_pillars_node.py
1 parent 1db9aef commit b7a5fd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GEMstack/onboard/perception/point_pillars_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def synchronized_callback(self, image_msg, lidar_msg):
181181
bottom = 0.0 # Can modify this later if we want a small seperation between the bounding box and ground
182182
top = z_vehicle + h / 2.0
183183
z_vehicle = (top - bottom) / 2.0
184-
h = abs(top - center)
184+
h = abs(top - z_vehicle)
185185

186186
# Add the bounding box
187187
boxes = add_bounding_box(

0 commit comments

Comments
 (0)