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
1b606e99
Commit
1b606e99
authored
Mar 24, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加入跟踪之后的时间点。
parent
6e14a134
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
TrackingRos.cpp
TrackingRos.cpp
+4
-0
No files found.
TrackingRos.cpp
View file @
1b606e99
...
...
@@ -316,6 +316,7 @@ void TrackingRos::TrackingCallBackFunc(const jfx_common_msgs::det_tracking_array
objTrackListPtr
objsPtr
=
std
::
make_shared
<
jfx_common_msgs
::
det_tracking_array
>
();
objsPtr
->
array
=
msg
->
array
;
objsPtr
->
cloud
=
msg
->
cloud
;
objsPtr
->
pt
=
msg
->
pt
;
static
int
countR
=
0
;
countR
++
;
...
...
@@ -599,6 +600,9 @@ void TrackingRos::ThreadTrackingProcess()
}
//sendObjs.cloud = objsPtr->cloud;
//SDK_LOG(SDK_INFO, "calculate objs size = %d", sendObjs.array.size());
auto
time_p
=
ros
::
Time
::
now
();
std
::
uint64_t
tt
=
(
std
::
uint64_t
)
time_p
.
sec
*
1000
+
time_p
.
nsec
*
1e-6
;
sendObjs
.
pt
.
push_back
(
tt
);
//发送跟踪后的时间点
m_pub
.
publish
(
sendObjs
);
m_pubBoundingBoxes
.
publish
(
sendBoxes
);
...
...
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