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
62f2c4c4
Commit
62f2c4c4
authored
Jan 13, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
05e4f0fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
TrackingRosEx.cpp
TrackingRosEx.cpp
+6
-2
No files found.
TrackingRosEx.cpp
View file @
62f2c4c4
...
...
@@ -554,7 +554,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
}
}
//
SDK_LOG(SDK_INFO, "m_objsQueue push size = %d", objsPtr->array.size());
SDK_LOG
(
SDK_INFO
,
"m_objsQueue push size = %d"
,
objsPtr
->
array
.
size
());
m_objsQueue
.
push
(
objsPtr
);
//if(cloudPtr)
// m_pubCloud.publish(cloudPtr->cloud);
...
...
@@ -599,7 +599,7 @@ void TrackingRos::ThreadTrackingProcess()
nvtxRangePush
(
"ThreadTrackingProcess"
);
#endif
m_frameNum
++
;
//
SDK_LOG(SDK_INFO, "get objs size = %d,m_frameNum = %d",objsPtr->array.size(), m_frameNum);
SDK_LOG
(
SDK_INFO
,
"get objs size = %d,m_frameNum = %d"
,
objsPtr
->
array
.
size
(),
m_frameNum
);
std
::
vector
<
std
::
vector
<
float
>
>
input
;
for
(
int
i
=
0
;
i
<
objsPtr
->
array
.
size
();
i
++
)
{
...
...
@@ -614,6 +614,10 @@ void TrackingRos::ThreadTrackingProcess()
data
.
push_back
(
obj
.
w
);
data
.
push_back
(
obj
.
h
);
input
.
emplace_back
(
data
);
if
(
x
<
0
)
{
SDK_LOG
(
SDK_INFO
,
"input========================= x = %f,y = %f"
,
obj
.
x
,
obj
.
y
);
}
}
std
::
vector
<
uint64_t
>
detectionsId
;
std
::
map
<
uint64_t
,
int
>
updateId
;
...
...
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