Skip to content

Commit

Permalink
updates t solve linter issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
michalal7 committed Dec 18, 2024
1 parent d835c05 commit 4234771
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion code/mapping/src/mapping_data_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ def calculate_marker_center_2d(points):
Calculates the center (x, y) of a 2D bounding box based on marker points.
Args:
points (list or numpy.ndarray): List of geometry_msgs/Point objects or NumPy array.
points (list or numpy.ndarray): List of geometry_msgs/Point objects
or NumPy array.
Returns:
tuple: Center coordinates (x_center, y_center).
Expand Down
3 changes: 2 additions & 1 deletion code/perception/src/lidar_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ def generate_bounding_boxes(points_with_labels):
"""
Generates axis-aligned bounding boxes (AABB) for clustered points.
This function calculates bounding boxes for each unique cluster label in the input array.
This function calculates bounding boxes for each unique
cluster label in the input array.
Args:
points_with_labels (numpy.ndarray):
Expand Down

0 comments on commit 4234771

Please sign in to comment.