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
c87f2a67
Commit
c87f2a67
authored
Jan 13, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交修改
parent
a212a54a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
TrackingRosEx.cpp
TrackingRosEx.cpp
+9
-3
No files found.
TrackingRosEx.cpp
View file @
c87f2a67
...
...
@@ -439,8 +439,11 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
}
else
continue
;
if
(
_GET_VALID_VALUE
((
unsigned
char
)
0
,
m_recvMsgBit
))
if
(
_GET_VALID_VALUE
((
unsigned
char
)
0
,
m_recvMsgBit
))
{
SDK_LOG
(
SDK_INFO
,
"send cloud obj x = %f, y = %f"
,
obj
.
x
,
obj
.
y
);
objsPtr
->
array
.
push_back
(
obj
);
}
}
//SDK_LOG(SDK_INFO, "camera msg [0] size = %d,[1] = %d,[2] = %d",msg->reses[0].results.size(), msg->reses[1].results.size(), msg->reses[2].results.size());
for
(
int
i
=
0
;
i
<
3
;
i
++
)
...
...
@@ -560,10 +563,13 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
if
(
i
==
1
||
i
==
2
)
{
//objMsg.type = 7;
SDK_LOG
(
SDK_INFO
,
"camera 1,2 x = %f,y = %f"
,
objMsg
.
x
,
objMsg
.
y
);
//
SDK_LOG(SDK_INFO, "camera 1,2 x = %f,y = %f", objMsg.x, objMsg.y);
}
if
(
_GET_VALID_VALUE
((
unsigned
char
)(
i
+
1
),
m_recvMsgBit
))
if
(
_GET_VALID_VALUE
((
unsigned
char
)(
i
+
1
),
m_recvMsgBit
))
{
SDK_LOG
(
SDK_INFO
,
"send camera i = %d, x = %f,y = %f"
,
i
,
objMsg
.
x
,
objMsg
.
y
);
objsPtr
->
array
.
push_back
(
objMsg
);
}
}
}
}
...
...
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