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
805bef4d
Commit
805bef4d
authored
Mar 29, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tracking到老数据需要更新一下timestamp
parent
af6f6dbb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
TrackingRos.cpp
TrackingRos.cpp
+2
-0
No files found.
TrackingRos.cpp
View file @
805bef4d
...
...
@@ -369,6 +369,7 @@ void TrackingRos::ThreadTrackingProcess()
#ifdef _USING_NSIGHT_
nvtxRangePush
(
"ThreadTrackingProcess"
);
#endif
uint64_t
cur_timestamp
=
(
unsigned
long
long
)
objsPtr
->
cloud
.
header
.
stamp
.
sec
*
1000
+
(
unsigned
long
long
)
objsPtr
->
cloud
.
header
.
stamp
.
nsec
*
1e-6
;
m_frameNum
++
;
//SDK_LOG(SDK_INFO, "get objs size = %d,m_frameNum = %d",objsPtr->array.size(), m_frameNum);
std
::
vector
<
std
::
vector
<
float
>
>
input
;
...
...
@@ -471,6 +472,7 @@ void TrackingRos::ThreadTrackingProcess()
if
(
iter
.
second
->
IsValid
()
&&
iter
.
second
->
GetStateData
(
data
)
==
0
)
{
is_need_send
=
1
;
//需要发送
obj
.
frame
=
cur_timestamp
;
obj
.
x
=
data
[
0
];
obj
.
y
=
data
[
1
];
obj
.
z
=
data
[
2
];
...
...
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