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
a36ed7c3
Commit
a36ed7c3
authored
Jun 07, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
80fb41ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
TrackingRos.cpp
TrackingRos.cpp
+14
-9
No files found.
TrackingRos.cpp
View file @
a36ed7c3
...
...
@@ -683,17 +683,22 @@ void TrackingRos::ThreadTrackingProcess()
m_pubMarkerArray
.
publish
(
sendMarkers
);
m_pubCloud
.
publish
(
objsPtr
->
cloud
);
#ifdef _SEND_ABUZHABI_
std
::
stringstream
ss
;
jf_ajson
::
save_to
(
ss
,
send_abu
);
std_msgs
::
String
s_msg
;
s_msg
.
data
=
std
::
move
(
ss
.
str
());
static
uint64_t
countBeginA
=
GetCurTime
();
if
(
GetCurTime
()
-
countBeginA
>
3000
*
1000
)
static
int
sendNum
=
0
;
sendNum
++
;
if
(
sendNum
%
3
==
0
)
{
SDK_LOG
(
SDK_INFO
,
"send abuzhabi msg = %s"
,
s_msg
.
data
.
c_str
());
countBeginA
=
GetCurTime
();
std
::
stringstream
ss
;
jf_ajson
::
save_to
(
ss
,
send_abu
);
std_msgs
::
String
s_msg
;
s_msg
.
data
=
std
::
move
(
ss
.
str
());
static
uint64_t
countBeginA
=
GetCurTime
();
if
(
GetCurTime
()
-
countBeginA
>
3000
*
1000
)
{
SDK_LOG
(
SDK_INFO
,
"send abuzhabi msg = %s"
,
s_msg
.
data
.
c_str
());
countBeginA
=
GetCurTime
();
}
m_pubAbuzhabi
.
publish
(
s_msg
);
}
m_pubAbuzhabi
.
publish
(
s_msg
);
#endif
#ifdef _USING_NSIGHT_
nvtxRangePop
();
...
...
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