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
5c2ec324
Commit
5c2ec324
authored
Jan 12, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
742cca92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
TrackingRosEx.cpp
TrackingRosEx.cpp
+4
-3
No files found.
TrackingRosEx.cpp
View file @
5c2ec324
...
...
@@ -413,7 +413,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
objTrackListPtr
objsPtr
=
std
::
make_shared
<
jfx_common_msgs
::
det_tracking_array
>
();
if
(
cloudPtr
)
{
//objsPtr->array = cloudPtr->array
;
objsPtr
->
cloud
=
cloudPtr
->
cloud
;
for
(
auto
&
obj
:
cloudPtr
->
array
)
{
if
(
obj
.
x
<=
70
)
...
...
@@ -538,8 +538,8 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
}
//SDK_LOG(SDK_INFO, "m_objsQueue push size = %d", objsPtr->array.size());
m_objsQueue
.
push
(
objsPtr
);
if
(
cloudPtr
)
m_pubCloud
.
publish
(
cloudPtr
->
cloud
);
//
if(cloudPtr)
//
m_pubCloud.publish(cloudPtr->cloud);
}
objTrackListPtr
TrackingRos
::
GetNearestCloudMsg
(
unsigned
long
long
timestamp
)
...
...
@@ -758,6 +758,7 @@ void TrackingRos::ThreadTrackingProcess()
//m_pub.publish(sendObjs);
m_pubBoundingBoxes
.
publish
(
sendBoxes
);
m_pubCloud
.
publish
(
objsPtr
->
cloud
);
#ifdef _USING_NSIGHT_
nvtxRangePop
();
#endif
...
...
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