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
428f6cf9
Commit
428f6cf9
authored
Dec 22, 2021
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交gpu的数据输入修改
parent
ca0f37c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Track3D.cpp
BaseTracker/Track3D.cpp
+1
-1
TrackingRos.cpp
TrackingRos.cpp
+5
-5
No files found.
BaseTracker/Track3D.cpp
View file @
428f6cf9
...
...
@@ -58,7 +58,7 @@ Track3D::Track3D():BaseTrack(10, 7)
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0.
1
;
0
,
0
,
0
,
0
,
0
,
0
,
1
;
kf_
=
kf
;
...
...
TrackingRos.cpp
View file @
428f6cf9
...
...
@@ -166,10 +166,10 @@ void TrackingRos::ThreadTrackingProcess()
data
.
push_back
(
obj
.
x
);
//x对应经度
data
.
push_back
(
obj
.
y
);
//y对应纬度
data
.
push_back
(
obj
.
z
);
data
.
push_back
(
obj
.
rot_y
);
data
.
push_back
(
obj
.
l
);
data
.
push_back
(
obj
.
w
);
data
.
push_back
(
obj
.
h
);
data
.
push_back
(
obj
.
rot_y
);
input
.
emplace_back
(
data
);
}
std
::
vector
<
uint64_t
>
detectionsId
;
...
...
@@ -214,10 +214,10 @@ void TrackingRos::ThreadTrackingProcess()
obj
.
x
=
data
[
0
];
obj
.
y
=
data
[
1
];
obj
.
z
=
data
[
2
];
obj
.
rot_y
=
data
[
6
];
obj
.
l
=
data
[
3
];
obj
.
w
=
data
[
4
];
obj
.
h
=
data
[
5
];
obj
.
rot_y
=
data
[
6
];
obj
.
v_x
=
data
[
7
];
obj
.
v_y
=
data
[
8
];
obj
.
v_z
=
data
[
9
];
...
...
@@ -227,9 +227,9 @@ void TrackingRos::ThreadTrackingProcess()
{
SDK_LOG
(
SDK_INFO
,
"frame = %llu, id = %llu, input(%f,%f,%f,%f,%f,%f,%f) predict(%f,%f,%f,%f,%f,%f,%f) output(%f,%f,%f,%f,%f,%f,%f) prob = %f"
,
obj
.
frame
,
iter
.
first
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
x
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
y
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
z
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
l
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
w
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
h
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
rot_y
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
rot_y
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
l
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
w
,
objsPtr
->
array
[
updateId
[
iter
.
first
]].
h
,
predict
[
0
],
predict
[
1
],
predict
[
2
],
predict
[
3
],
predict
[
4
],
predict
[
5
],
predict
[
6
],
obj
.
x
,
obj
.
y
,
obj
.
z
,
obj
.
l
,
obj
.
w
,
obj
.
h
,
obj
.
rot_y
,
iter
.
second
->
GetProb
());
obj
.
x
,
obj
.
y
,
obj
.
z
,
obj
.
rot_y
,
obj
.
l
,
obj
.
w
,
obj
.
h
,
iter
.
second
->
GetProb
());
}
float
gx
=
0.0
f
;
float
gy
=
0.0
f
;
...
...
@@ -253,10 +253,10 @@ void TrackingRos::ThreadTrackingProcess()
obj
.
x
=
data
[
0
];
obj
.
y
=
data
[
1
];
obj
.
z
=
data
[
2
];
obj
.
rot_y
=
data
[
6
];
obj
.
l
=
data
[
3
];
obj
.
w
=
data
[
4
];
obj
.
h
=
data
[
5
];
obj
.
rot_y
=
data
[
6
];
obj
.
v_x
=
data
[
7
];
obj
.
v_y
=
data
[
8
];
obj
.
v_z
=
data
[
9
];
...
...
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