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
49405367
Commit
49405367
authored
Jan 13, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
5a147a0f
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 @
49405367
...
...
@@ -414,7 +414,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
if
(
cloudPtr
)
{
objsPtr
->
cloud
=
cloudPtr
->
cloud
;
SDK_LOG
(
SDK_INFO
,
"cloudPtr array size = %d"
,
cloudPtr
->
array
.
size
());
//
SDK_LOG(SDK_INFO, "cloudPtr array size = %d", cloudPtr->array.size());
for
(
auto
&
obj
:
cloudPtr
->
array
)
{
if
(
obj
.
x
<=
70
)
...
...
@@ -463,6 +463,10 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
{
get_camera_left_tolidar_loc
(
bottom_center_x
,
bottom_center_y
,
x
,
y
);
}
if
(
i
==
1
||
i
==
2
)
{
SDK_LOG
(
SDK_INFO
,
"camera obj i = %d, x = %f,y = %f"
,
i
,
x
,
y
);
}
jfx_common_msgs
::
det_tracking
objMsg
=
{};
objMsg
.
frame
=
int
(
timestamp
);
objMsg
.
x
=
x
;
...
...
@@ -537,7 +541,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);
...
...
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