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
8fb40966
Commit
8fb40966
authored
Mar 25, 2022
by
wanghailong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.corp.roadlinks.cn:2020/oscar/jfx_kalman_filter_src
parents
bb3493a2
36682e0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
TrackingRos.cpp
TrackingRos.cpp
+5
-0
No files found.
TrackingRos.cpp
View file @
8fb40966
...
...
@@ -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,10 @@ void TrackingRos::ThreadTrackingProcess()
}
//sendObjs.cloud = objsPtr->cloud;
//SDK_LOG(SDK_INFO, "calculate objs size = %d", sendObjs.array.size());
sendObjs
.
pt
=
objsPtr
->
pt
;
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