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
b3d8bc6f
Commit
b3d8bc6f
authored
Dec 14, 2021
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交测试
parent
d1972dec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
kalman_update_batch_online.cu
BaseTracker/kf_gup/kalman_update_batch_online.cu
+8
-8
TrackingRos.cpp
TrackingRos.cpp
+1
-0
No files found.
BaseTracker/kf_gup/kalman_update_batch_online.cu
View file @
b3d8bc6f
...
...
@@ -309,19 +309,19 @@ void map_kalman_update_batch( pybind11::array_t<float> Z,
MAKE SURE ALL INPUTS ARE TWO-DIM NUMPY ARRAY
*/
void kalman_update_batch(
pybind11::array_t<float>
Z,
pybind11::array_t<float>
X, // in-place update
pybind11::array_t<float>
P, // in-place update
pybind11::array_t<float>
HX,
void kalman_update_batch(
float**
Z,
float**
X, // in-place update
float**
P, // in-place update
float**
HX,
const int bs,
const int ns,
const int no
) {
pybind11::buffer_info ZZ = Z.request();
pybind11::buffer_info XX = X.request();
pybind11::buffer_info PP = P.request();
pybind11::buffer_info HXX = HX.request();
//
pybind11::buffer_info ZZ = Z.request();
//
pybind11::buffer_info XX = X.request();
//
pybind11::buffer_info PP = P.request();
//
pybind11::buffer_info HXX = HX.request();
int size_ZZ = ZZ.shape[0] * ZZ.shape[1] * sizeof(float);
int size_XX = XX.shape[0] * XX.shape[1] * sizeof(float);
...
...
TrackingRos.cpp
View file @
b3d8bc6f
...
...
@@ -57,6 +57,7 @@ void TrackingRos::Init(ros::NodeHandle& nh)
mat
(
1
,
1
)
=
0.4
f
;
float
*
f
=
mat
.
data
();
f
[
3
]
=
0.5
f
;
float
m
[
4
];
memcpy
(
m
,
f
,
sizeof
(
float
)
*
4
);
...
...
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