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
ff6ce68c
Commit
ff6ce68c
authored
Sep 22, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交毫米波雷达由远到近的时候速度为0的问题
parent
0bf03a12
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
RosMsg.h
ros2/RosMsg.h
+1
-0
Track3DEx.cpp
ros2/Track3DEx.cpp
+1
-1
TrackingRos2.cpp
ros2/TrackingRos2.cpp
+1
-0
No files found.
ros2/RosMsg.h
View file @
ff6ce68c
...
...
@@ -18,6 +18,7 @@ struct TrackStructObj
int
cameraId
;
int
trackingId
;
uint64_t
id
;
int
cameraId_real
;
std
::
shared_ptr
<
autoware_auto_perception_msgs
::
msg
::
TrackedObject
>
obj
;
};
...
...
ros2/Track3DEx.cpp
View file @
ff6ce68c
...
...
@@ -302,7 +302,7 @@ void Track3DEx::GetSpeed(float& x, float& y)//获取速度值
{
if
(
m_obj
==
nullptr
)
return
;
if
(
m_obj
->
dataSource
<
10
&&
m_obj
->
cameraId
<
10
)
if
(
m_obj
->
dataSource
<
10
&&
m_obj
->
cameraId
_real
<
10
)
{
float
totelX
=
0
,
totelY
=
0
;
for
(
int
i
=
0
;
i
<
m_speedXLists
.
size
();
i
++
)
...
...
ros2/TrackingRos2.cpp
View file @
ff6ce68c
...
...
@@ -320,6 +320,7 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
strObj
.
type
=
input_obj
.
object
.
classification
[
0
].
label
;
strObj
.
dataSource
=
input_obj
.
data_source
;
strObj
.
cameraId
=
input_obj
.
camera_id
==
0
?
camera_id
:
input_obj
.
camera_id
;
strObj
.
cameraId_real
=
input_obj
.
camera_id
;
strObj
.
trackingId
=
input_obj
.
tracking_id
==
0
?
tracking_id
:
input_obj
.
tracking_id
;
strObj
.
obj
=
std
::
make_shared
<
autoware_auto_perception_msgs
::
msg
::
TrackedObject
>
(
obj
);
strObj
.
id
=
iter
.
first
;
...
...
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