Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
mmdetection3d
Commits
047f7904
"vscode:/vscode.git/clone" did not exist on "3fe162c680364c51c2ae6964ae04d323b504df68"
Unverified
Commit
047f7904
authored
Apr 20, 2022
by
VVsssssk
Committed by
GitHub
Apr 20, 2022
Browse files
fix bug about visualize yaw (#1407)
parent
c20b6cb6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmdet3d/core/visualizer/open3d_vis.py
mmdet3d/core/visualizer/open3d_vis.py
+1
-1
No files found.
mmdet3d/core/visualizer/open3d_vis.py
View file @
047f7904
...
@@ -95,7 +95,7 @@ def _draw_bboxes(bbox3d,
...
@@ -95,7 +95,7 @@ def _draw_bboxes(bbox3d,
center
=
bbox3d
[
i
,
0
:
3
]
center
=
bbox3d
[
i
,
0
:
3
]
dim
=
bbox3d
[
i
,
3
:
6
]
dim
=
bbox3d
[
i
,
3
:
6
]
yaw
=
np
.
zeros
(
3
)
yaw
=
np
.
zeros
(
3
)
yaw
[
rot_axis
]
=
-
bbox3d
[
i
,
6
]
yaw
[
rot_axis
]
=
bbox3d
[
i
,
6
]
rot_mat
=
geometry
.
get_rotation_matrix_from_xyz
(
yaw
)
rot_mat
=
geometry
.
get_rotation_matrix_from_xyz
(
yaw
)
if
center_mode
==
'lidar_bottom'
:
if
center_mode
==
'lidar_bottom'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment