Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
cf3a7ea7
Commit
cf3a7ea7
authored
Feb 25, 2017
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarified spec
parent
81b32723
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
kalman_filter.h
dlib/filtering/kalman_filter.h
+4
-2
kalman_filter_abstract.h
dlib/filtering/kalman_filter_abstract.h
+4
-4
No files found.
dlib/filtering/kalman_filter.h
View file @
cf3a7ea7
...
...
@@ -36,9 +36,11 @@ namespace dlib
void
set_process_noise
(
const
matrix
<
double
,
states
,
states
>&
Q_
)
{
Q
=
Q_
;
}
void
set_measurement_noise
(
const
matrix
<
double
,
measurements
,
measurements
>&
R_
)
{
R
=
R_
;
}
void
set_estimation_error_covariance
(
const
matrix
<
double
,
states
,
states
>&
P_
)
{
P
=
P_
;
}
void
set_state
(
const
matrix
<
double
,
states
,
1
>&
xb_
)
{
void
set_state
(
const
matrix
<
double
,
states
,
1
>&
xb_
)
{
xb
=
xb_
;
if
(
!
got_first_meas
)
{
if
(
!
got_first_meas
)
{
x
=
xb_
;
got_first_meas
=
true
;
}
...
...
dlib/filtering/kalman_filter_abstract.h
View file @
cf3a7ea7
...
...
@@ -98,11 +98,11 @@ namespace dlib
);
/*!
ensures
- This function can be used when the initial state is known, or if the
state needs to be corrected before the next update().
- #get_predicted_next_state() == xb
- If update() is never called with a measurement
#get_current_state() == get_predicted_next_state()
(Can be used when the initial state is known, or if the state needs to be corrected
before the next update())
- If (update() hasn't been called yet) then
- #get_current_state() == xb
!*/
const
matrix
<
double
,
measurements
,
states
>&
get_observation_model
(
...
...
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