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
8f67081e
Commit
8f67081e
authored
Mar 29, 2023
by
haoshuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update frame id of ros2
parent
b41fc456
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
TrackingRos2.cpp
ros2/TrackingRos2.cpp
+5
-5
No files found.
ros2/TrackingRos2.cpp
View file @
8f67081e
...
...
@@ -98,7 +98,7 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
wit_perception_msgs
::
msg
::
TrackedObjectsEx
sendObjsEx
=
{};
autoware_auto_perception_msgs
::
msg
::
TrackedObjects
sendObjs
=
{};
sendObjs
.
header
=
objsPtr
->
header
;
sendObjs
.
header
.
frame_id
=
"
top_
lidar"
;
sendObjs
.
header
.
frame_id
=
"
rs
lidar"
;
uint64_t
timestamp
=
(
unsigned
long
long
)
objsPtr
->
header
.
stamp
.
sec
*
1e6
+
(
unsigned
long
long
)
objsPtr
->
header
.
stamp
.
nanosec
*
1e-3
;
static
int
frameNum
=
0
;
...
...
@@ -408,7 +408,7 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
visualization_msgs
::
msg
::
Marker
marker
=
{};
// marker.header = objsPtr->header;
marker
.
lifetime
=
rclcpp
::
Duration
(
1
);
marker
.
header
.
frame_id
=
"
top_
lidar"
;
marker
.
header
.
frame_id
=
"
rs
lidar"
;
marker
.
type
=
visualization_msgs
::
msg
::
Marker
::
CUBE
;
marker
.
action
=
visualization_msgs
::
msg
::
Marker
::
ADD
;
marker
.
id
=
iter
.
first
;
...
...
@@ -434,7 +434,7 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
visualization_msgs
::
msg
::
Marker
markerText
=
{};
markerText
.
lifetime
=
rclcpp
::
Duration
(
1
);
markerText
.
header
.
frame_id
=
"
top_
lidar"
;
markerText
.
header
.
frame_id
=
"
rs
lidar"
;
markerText
.
type
=
visualization_msgs
::
msg
::
Marker
::
TEXT_VIEW_FACING
;
markerText
.
action
=
visualization_msgs
::
msg
::
Marker
::
ADD
;
markerText
.
id
=
iter
.
first
;
...
...
@@ -543,7 +543,7 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
}
visualization_msgs
::
msg
::
Marker
marker
=
{};
marker
.
lifetime
=
rclcpp
::
Duration
(
1
);
marker
.
header
.
frame_id
=
"
top_
lidar"
;
marker
.
header
.
frame_id
=
"
rs
lidar"
;
marker
.
type
=
visualization_msgs
::
msg
::
Marker
::
CUBE
;
marker
.
action
=
visualization_msgs
::
msg
::
Marker
::
DELETE
;
marker
.
id
=
lostId
[
i
];
...
...
@@ -564,7 +564,7 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
makerArray
.
markers
.
emplace_back
(
marker
);
visualization_msgs
::
msg
::
Marker
markerText
=
{};
markerText
.
lifetime
=
rclcpp
::
Duration
(
1
);
markerText
.
header
.
frame_id
=
"
top_
lidar"
;
markerText
.
header
.
frame_id
=
"
rs
lidar"
;
markerText
.
type
=
visualization_msgs
::
msg
::
Marker
::
TEXT_VIEW_FACING
;
markerText
.
action
=
visualization_msgs
::
msg
::
Marker
::
DELETE
;
markerText
.
id
=
lostId
[
i
];
...
...
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