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
80fb4dd2
Commit
80fb4dd2
authored
May 27, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
6ad05d9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
TrackingRos.cpp
TrackingRos.cpp
+8
-3
No files found.
TrackingRos.cpp
View file @
80fb4dd2
...
...
@@ -478,11 +478,11 @@ void TrackingRos::ThreadTrackingProcess()
}
if
(
iter
.
second
->
m_obj
)
last_type
=
iter
.
second
->
m_obj
->
type
;
if
(
iter
.
second
->
m_number
.
empty
()
&&
!
obj
.
license_plate_number
.
empty
())
if
(
iter
.
second
->
m_number
.
empty
()
&&
!
obj
.
license_plate_number
.
empty
()
&&
obj
.
license_plate_number
!=
"None"
)
{
iter
.
second
->
m_number
=
obj
.
license_plate_number
;
}
else
if
(
!
iter
.
second
->
m_number
.
empty
()
&&
!
obj
.
license_plate_number
.
empty
())
else
if
(
!
iter
.
second
->
m_number
.
empty
()
&&
!
obj
.
license_plate_number
.
empty
()
&&
obj
.
license_plate_number
!=
"None"
)
{
if
(
iter
.
second
->
m_number
!=
obj
.
license_plate_number
)
{
...
...
@@ -660,7 +660,12 @@ void TrackingRos::ThreadTrackingProcess()
jf_ajson
::
save_to
(
ss
,
send_abu
);
std_msgs
::
String
s_msg
;
s_msg
.
data
=
std
::
move
(
ss
.
str
());
SDK_LOG
(
SDK_INFO
,
"send abuzhabi msg = %s"
,
s_msg
.
data
.
c_str
());
static
uint64_t
countBeginA
=
GetCurTime
();
if
(
GetCurTime
()
-
countBeginA
>
1000
*
1000
)
{
SDK_LOG
(
SDK_INFO
,
"send abuzhabi msg = %s"
,
s_msg
.
data
.
c_str
());
countBeginA
=
GetCurTime
();
}
m_pubAbuzhabi
.
publish
(
s_msg
);
#endif
#ifdef _USING_NSIGHT_
...
...
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