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
d60eaab7
Commit
d60eaab7
authored
May 25, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
da8648d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TrackingRos2.cpp
ros2/TrackingRos2.cpp
+2
-2
No files found.
ros2/TrackingRos2.cpp
View file @
d60eaab7
...
...
@@ -86,7 +86,7 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr)
geometry_msgs
::
msg
::
Quaternion
orient
=
objsPtr
->
feature_objects
[
i
].
object
.
kinematics
.
pose_with_covariance
.
pose
.
orientation
;
geometry_msgs
::
msg
::
Vector3
dim
=
objsPtr
->
feature_objects
[
i
].
object
.
shape
.
dimensions
;
float
prob
=
objsPtr
->
feature_objects
[
i
].
object
.
existence_probability
;
int
label
=
objsPtr
->
feature_objects
[
i
].
object
.
classification
.
label
;
int
label
=
objsPtr
->
feature_objects
[
i
].
object
.
classification
[
0
]
.
label
;
int
dataSource
=
objsPtr
->
feature_objects
[
i
].
data_source
;
std
::
vector
<
float
>
data
;
data
.
push_back
(
label
);
...
...
@@ -192,7 +192,7 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr)
}
TrackStructObj
strObj
=
{};
strObj
.
frame
=
timestamp
;
strObj
.
type
=
input_obj
.
object
.
classification
.
label
;
strObj
.
type
=
input_obj
.
object
.
classification
[
0
]
.
label
;
strObj
.
obj
=
std
::
make_shared
<
autoware_auto_perception_msgs
::
msg
::
TrackedObject
>
(
obj
)
iter
.
second
->
m_obj
=
std
::
make_shared
<
TrackStructObj
>
(
strObj
);
//不仅状态变量还有类型时间戳的m_obj数据更新(Tracker3D.h的智能指针)
}
...
...
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