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
73abd3f1
Commit
73abd3f1
authored
Feb 24, 2023
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改为朝向使用接近的朝向,否则会出现来回摇摆。
parent
73ca9400
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Track3D.cpp
BaseTracker/Track3D.cpp
+2
-2
No files found.
BaseTracker/Track3D.cpp
View file @
73abd3f1
...
...
@@ -364,7 +364,7 @@ void Track3D::UpdateDataCheck(const std::vector<float>& data, std::vector<float>
{
rot_y
+=
_PI_
;
}
isCheck
=
1
;
//
isCheck = 1;
}
else
if
(
dataSource
>
1
&&
m_points
.
size
()
>=
5
)
{
...
...
@@ -373,7 +373,7 @@ void Track3D::UpdateDataCheck(const std::vector<float>& data, std::vector<float>
double
center_rot_y
=
correct_angle
(
m_points
);
m_center_rot_y
=
center_rot_y
;
rot_y
=
center_rot_y
;
isCheck
=
1
;
//
isCheck = 1;
}
else
//没有距离差就使用最后一次的方向
rot_y
=
m_center_rot_y
;
...
...
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