Skip to content

Commit

Permalink
fixed the error in convariance matrix calculation (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melody-Zhou committed Oct 28, 2024
1 parent b5398ea commit 36d11c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application/app_yolo_obb/yolo_obb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace YoloOBB{

float a_val = a * cos_r * cos_r + b * sin_r * sin_r;
float b_val = a * sin_r * sin_r + b * cos_r * cos_r;
float c_val = (a - b) * sin_r * sin_r;
float c_val = (a - b) * sin_r * cos_r;

return std::make_tuple(a_val, b_val, c_val);
}
Expand Down

0 comments on commit 36d11c3

Please sign in to comment.