Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfx_kalman_filter_src
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
jfx_kalman_filter_src
Commits
564dff7c
Commit
564dff7c
authored
Mar 30, 2023
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除多余的函数
parent
12f94e45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
Track3D.cpp
BaseTracker/Track3D.cpp
+0
-32
No files found.
BaseTracker/Track3D.cpp
View file @
564dff7c
...
...
@@ -538,34 +538,3 @@ float Track3D::GetRotY(float rot_y)
while
(
rot_y_real
>=
_PI_
*
2
)
rot_y_real
-=
_PI_
*
2
;
return
rot_y_real
;
}
void
Track3D
::
SetQ
(
const
std
::
vector
<
float
>&
data
)
{
if
(
data
.
size
()
<
10
)
{
return
;
}
if
(
kf_
==
nullptr
)
{
return
;
}
float
score
=
data
[
9
];
//置信度
float
ratio
=
1
;
if
(
score
<
0.4
)
{
ratio
=
10
;
}
else
if
(
score
>
0.7
)
{
ratio
=
1
;
}
else
{
ratio
=
pow
(
10
,(
0.7
-
score
)
*
33
);
}
kf_
->
R_
=
kf_
->
R_
*
ratio
;
return
;
}
\ No newline at end of file
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