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
e2e8c3ef
Commit
e2e8c3ef
authored
Jan 14, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交发送
parent
db98ee5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
TrackingRosEx.cpp
TrackingRosEx.cpp
+2
-1
TrackingRosEx.h
TrackingRosEx.h
+1
-0
No files found.
TrackingRosEx.cpp
View file @
e2e8c3ef
...
...
@@ -299,7 +299,7 @@ void TrackingRos::Init(ros::NodeHandle& nh)
m_pub
=
nh
.
advertise
<
jfx_common_msgs
::
det_tracking_array
>
(
"/tracking_res"
,
100
);
m_pubCloud
=
nh
.
advertise
<
sensor_msgs
::
PointCloud2
>
(
"/tracking_cloud"
,
100
);
m_pubBoundingBoxes
=
nh
.
advertise
<
jsk_recognition_msgs
::
BoundingBoxArray
>
(
"/tracking_bbox"
,
100
);
m_pubMarker
=
nh
.
advertise
<
visualization_msgs
::
MarkerArray
>
(
"/tracking_loc"
,
100
);
m_objsQueue
.
set_max_num_items
(
2
);
...
...
@@ -829,6 +829,7 @@ void TrackingRos::ThreadTrackingProcess()
m_pubBoundingBoxes
.
publish
(
sendBoxes
);
objsPtr
->
cloud
.
header
.
frame_id
=
"/rslidar"
;
m_pubCloud
.
publish
(
objsPtr
->
cloud
);
m_pubMarker
.
publish
(
markerArray
);
#ifdef _USING_NSIGHT_
nvtxRangePop
();
#endif
...
...
TrackingRosEx.h
View file @
e2e8c3ef
...
...
@@ -50,6 +50,7 @@ public:
ros
::
Publisher
m_pub
;
//发送所有物体信息的publisher
ros
::
Publisher
m_pubCloud
;
//发送点云数据
ros
::
Publisher
m_pubBoundingBoxes
;
//发送3D框信息
ros
::
Publisher
m_pubMarker
;
//发送marker信息
std
::
vector
<
std
::
vector
<
double
>>
m_trans
;
std
::
vector
<
std
::
vector
<
double
>>
m_kitti2origin
;
...
...
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