Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Matlab Simulator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avionics
Guidance Navigation and Control
Matlab Simulator
Commits
40042570
Commit
40042570
authored
1 year ago
by
Davide Basso
Browse files
Options
Downloads
Patches
Plain Diff
Use INVALID gps correction
parent
92a158c9
Branches
nas_nan_debug
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
commonFunctions/kalman/correctionGPS.m
+4
-4
4 additions, 4 deletions
commonFunctions/kalman/correctionGPS.m
with
4 additions
and
4 deletions
commonFunctions/kalman/correctionGPS.m
+
4
−
4
View file @
40042570
...
@@ -46,17 +46,17 @@ threshold = 10e-11;
...
@@ -46,17 +46,17 @@ threshold = 10e-11;
% output of the system multiplied by 1000 to deal with magnitude of order
% output of the system multiplied by 1000 to deal with magnitude of order
% of covariance
% of covariance
H11
=
1
000
/
a
;
H11
=
1
/
a
;
H12
=
0
;
H12
=
0
;
H21
=
(
1
000000
*
x_pred
(
2
)
*
sind
(
1
000
*
lat0
+
(
1
000
*
x_pred
(
1
))/
a
))/(
a
*
b
*
cosd
(
1
000
*
lat0
+
(
1
000
*
x_pred
(
1
))/
a
)
^
2
);
H21
=
(
1
*
x_pred
(
2
)
*
sind
(
1
*
lat0
+
(
1
*
x_pred
(
1
))/
a
))/(
a
*
b
*
cosd
(
1
*
lat0
+
(
1
*
x_pred
(
1
))/
a
)
^
2
);
H22
=
1
000
/(
b
*
cosd
(
1
000
*
lat0
+
(
1
000
*
x_pred
(
1
))/
a
));
H22
=
1
/(
b
*
cosd
(
1
*
lat0
+
(
1
*
x_pred
(
1
))/
a
));
H
=
[
H11
H12
0
0
0
0
;
%Pre-allocation of gradient
H
=
[
H11
H12
0
0
0
0
;
%Pre-allocation of gradient
H21
H22
0
0
0
0
;
H21
H22
0
0
0
0
;
0
0
0
1
0
0
;
0
0
0
1
0
0
;
0
0
0
0
1
0
;];
%of the output function
0
0
0
0
1
0
;];
%of the output function
R
=
sigma_GPS
.*
[
1
1
max
(
1
,
vGPS
)];
%VARIANCE MATRIX SCALED
R
=
sigma_GPS
.*
[
1
e-6
1e-6
max
(
1
,
vGPS
)];
%VARIANCE MATRIX SCALED
%TAKING INTO ACCOUNT
%TAKING INTO ACCOUNT
%NUMBER OF SATELITES
%NUMBER OF SATELITES
%AVAILABLE
%AVAILABLE
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment