Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tutorial example on symbolic control
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
Girard Antoine
Tutorial example on symbolic control
Commits
0c5db373
Commit
0c5db373
authored
1 year ago
by
Girard Antoine
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
2772f924
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
specification.m
+50
-0
50 additions, 0 deletions
specification.m
with
50 additions
and
0 deletions
specification.m
0 → 100644
+
50
−
0
View file @
0c5db373
%% Tutorial example on symbolic control
%% Author: Antoine GIRARD, Université Paris-Saclay, CNRS, CentraleSupélec, Laboratoire des signaux et systèmes, 91190, Gif-sur-Yvette, France.
%% Date: 2024
%% Definition of the specification
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Specification
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Regions of interest and labeling function
% Assumption on the regions of interest:
% 1) State partition cells are either completely inside or completely outside any region of interest
% 2) Two regions of of interest do not intersect
R1
=
[
4
5
;
8.5
9.5
;
-
pi
pi
];
R2
=
[
8.5
9.5
;
2
3
;
-
pi
pi
];
R3
=
[
2
3
;
0.5
1.5
;
-
pi
pi
];
R4
=
[
3
7
;
3
7
;
-
pi
pi
];
% Labeling function: 1 - not in any region; 2 - R1; 3 - R2; 4 - R3; 5 - R4
Lab_x
=@
(
x
)
1
+
...
1
*
(
all
(
x
>=
R1
(:,
1
))
&
all
(
x
<=
R1
(:,
2
)))
+
...
2
*
(
all
(
x
>=
R2
(:,
1
))
&
all
(
x
<=
R2
(:,
2
)))
+
...
3
*
(
all
(
x
>=
R3
(:,
1
))
&
all
(
x
<=
R3
(:,
2
)))
+
...
4
*
(
all
(
x
>=
R4
(:,
1
))
&
all
(
x
<=
R4
(:,
2
)));
% Specification automaton:
% Transition relation
% rows (automaton states) / column (labels)
% value (next automaton state)
A_s
=
[
1
2
3
1
5
;
...
2
2
5
4
5
;
...
3
5
3
4
5
;
...
4
4
4
4
4
;
...
5
5
5
5
5
];
n_s
=
length
(
A_s
);
% Initial state
I_s
=
1
;
% Final states
F_s
=
[
4
];
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