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
c41ece19
Commit
c41ece19
authored
Jul 07, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9c37c621
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
13 deletions
+18
-13
TrackingRos2.cpp
ros2/TrackingRos2.cpp
+18
-13
No files found.
ros2/TrackingRos2.cpp
View file @
c41ece19
...
...
@@ -443,19 +443,24 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
//打印时间戳
//(top收到的时间戳,三个点云同步完成时间戳,点云拼接完的时间戳,点云检测完成时间,检测结果发送时间)
// (收到检测结果时间戳,与相机融合之后的时间戳,融合之后发送的时间戳,tracking收到消息时间戳)
auto
&
pt
=
objsPtr
->
pt
;
uint64_t
start_timestamp
=
pt
.
size
()
>
0
?
pt
[
0
]
:
0
;
RCLCPP_INFO
(
this
->
get_logger
(),
"detector timestamp = %lld, delay time = [%lld,%lld,%lld,%lld,%lld,%lld,%lld,%lld,%lld,%lld]"
,
start_timestamp
,
pt
.
size
()
>
0
?
pt
[
0
]
-
start_timestamp
:
0
,
pt
.
size
()
>
1
?
pt
[
1
]
-
start_timestamp
:
0
,
pt
.
size
()
>
2
?
pt
[
2
]
-
start_timestamp
:
0
,
pt
.
size
()
>
3
?
pt
[
3
]
-
start_timestamp
:
0
,
pt
.
size
()
>
4
?
pt
[
4
]
-
start_timestamp
:
0
,
pt
.
size
()
>
5
?
pt
[
5
]
-
start_timestamp
:
0
,
pt
.
size
()
>
6
?
pt
[
6
]
-
start_timestamp
:
0
,
pt
.
size
()
>
7
?
pt
[
7
]
-
start_timestamp
:
0
,
pt
.
size
()
>
8
?
pt
[
8
]
-
start_timestamp
:
0
,
GetCurTime
()
-
start_timestamp
);
static
int64_t
beginPrint
=
GetCurTime
();
if
(
GetCurTime
()
-
beginPrint
>
3000
*
1000
)
{
auto
&
pt
=
objsPtr
->
pt
;
uint64_t
start_timestamp
=
pt
.
size
()
>
0
?
pt
[
0
]
:
0
;
RCLCPP_INFO
(
this
->
get_logger
(),
"detector timestamp = %lld, delay time = [%lld,%lld,%lld,%lld,%lld,%lld,%lld,%lld,%lld,%lld]"
,
start_timestamp
,
pt
.
size
()
>
0
?
pt
[
0
]
-
start_timestamp
:
0
,
pt
.
size
()
>
1
?
pt
[
1
]
-
start_timestamp
:
0
,
pt
.
size
()
>
2
?
pt
[
2
]
-
start_timestamp
:
0
,
pt
.
size
()
>
3
?
pt
[
3
]
-
start_timestamp
:
0
,
pt
.
size
()
>
4
?
pt
[
4
]
-
start_timestamp
:
0
,
pt
.
size
()
>
5
?
pt
[
5
]
-
start_timestamp
:
0
,
pt
.
size
()
>
6
?
pt
[
6
]
-
start_timestamp
:
0
,
pt
.
size
()
>
7
?
pt
[
7
]
-
start_timestamp
:
0
,
pt
.
size
()
>
8
?
pt
[
8
]
-
start_timestamp
:
0
,
GetCurTime
()
-
start_timestamp
);
beginPrint
=
GetCurTime
();
}
m_tracking_res
->
publish
(
sendObjs
);
m_pubMarker
->
publish
(
makerArray
);
...
...
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