Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer@primus committed Apr 8, 2024
1 parent f0b1989 commit 77031d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 2 additions & 3 deletions CUSTOM/convert_any_avstack_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@

from avstack import calibration
from avstack.environment.objects import Occlusion
from avstack.geometry import GlobalOrigin3D, PointMatrix3D, ReferenceFrame
from avstack.geometry import transformations as tforms
from avstack.geometry import PointMatrix3D
from avstack.sensors import LidarData


Expand Down Expand Up @@ -284,7 +283,7 @@ def process_frame(
# -- modifications:
# (1) box is bottom centered
if bbox_3d.where_is_t == "center":
ann_info["bbox_3d"][2] -= bbox_3d.h/2
ann_info["bbox_3d"][2] -= bbox_3d.h / 2

# (2) yaw is defined as: yaw=0 --> along x, yaw=pi/2 --> along y
pass # already this way
Expand Down
5 changes: 1 addition & 4 deletions CUSTOM/visualize_converted_dataset.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@



if __name__ == "__main__":
pass
pass

0 comments on commit 77031d6

Please sign in to comment.