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
918d5060
Commit
918d5060
authored
Jan 13, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
04a20389
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 @
918d5060
...
...
@@ -543,6 +543,10 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
}
if
(
duplicate
==
0
)
{
if
(
i
==
1
||
i
==
2
)
{
SDK_LOG
(
SDK_INFO
,
"camera 1,2 x = %f,y = %f"
,
objMsg
.
x
,
objMsg
.
y
);
}
objsPtr
->
array
.
push_back
(
objMsg
);
}
}
...
...
@@ -763,9 +767,9 @@ void TrackingRos::ThreadTrackingProcess()
box
.
pose
.
orientation
.
z
=
R_quat
.
z
();
//SDK_LOG(SDK_INFO, "rot_y_angle = %f", rot_y_angle);
box
.
pose
.
orientation
.
w
=
R_quat
.
w
();
if
(
rot_y_angle
==
0
)
if
(
obj
.
x
<
0
)
{
SDK_LOG
(
SDK_INFO
,
"sendbox x = %f,y = %f"
,
obj
.
x
,
obj
.
y
);
SDK_LOG
(
SDK_INFO
,
"sendbox
=========================
x = %f,y = %f"
,
obj
.
x
,
obj
.
y
);
}
sendBoxes
.
boxes
.
emplace_back
(
box
);
sendObjs
.
array
.
emplace_back
(
obj
);
...
...
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