Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gps-modeling
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
Container registry
Model registry
Operate
Environments
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
Martina Maggio
gps-modeling
Commits
700ab23a
Commit
700ab23a
authored
6 years ago
by
Claudio Mandrioli
Browse files
Options
Downloads
Patches
Plain Diff
changed name to plot script for single experiments2
parent
bea66256
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/plot_single_trace.m
+32
-0
32 additions, 0 deletions
matlab/plot_single_trace.m
with
32 additions
and
0 deletions
matlab/plot_single_trace.m
0 → 100644
+
32
−
0
View file @
700ab23a
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Script for data plot:
% plots the trajecotry and the stimation accuracy with the GPS turn on
% signal
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% display the overall error (root mean square)
out_data
.
error
% Display trajectory estimated with sensor fusion against trajectory for the
% GPS alone always on
h
=
zeros
(
1
,
2
);
figure
(
1
)
hold
on
plot
(
in_data
.
GNSS
.
pos_ned
(
2
,:),
in_data
.
GNSS
.
pos_ned
(
1
,:),
'b-'
);
h
(
1
)
=
plot
(
in_data
.
GNSS
.
pos_ned
(
2
,:),
in_data
.
GNSS
.
pos_ned
(
1
,:),
'b.'
);
h
(
2
)
=
plot
(
out_data
.
x_h
(
2
,:),
out_data
.
x_h
(
1
,:),
'-'
);
title
(
'Trajectory'
)
ylabel
(
'North [m]'
)
xlabel
(
'East [m]'
)
legend
(
h
,
'GNSS position estimate'
,
'GNSS aided INS trajectory'
)
axis
equal
grid
on
%plot control signal P and turn on signal of the GPS
h
=
zeros
(
1
,
2
);
figure
(
2
)
hold
on
h
(
1
)
=
plot
(
out_data
.
P_store
);
h
(
2
)
=
plot
(
out_data
.
turn
);
legend
(
h
,
'sum of the trace of P'
,
'antenna turned ON'
)
grid
on
\ No newline at end of file
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