Commit 085858a6 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Increase the range of the position

the control law is not accurate, it lets the lift bump in the
underground before it reaches the required floor :-)
parent ae2eb78e
...@@ -4,15 +4,15 @@ BEGIN ...@@ -4,15 +4,15 @@ BEGIN
UpDown ::= ENUMERATED { up (1), down (0) } UpDown ::= ENUMERATED { up (1), down (0) }
OnOff ::= ENUMERATED { on (1), off (0) } OnOff ::= ENUMERATED { on (1), off (0) }
OpenClose ::= ENUMERATED { door-open (1), door-close (0) } OpenClose ::= ENUMERATED { door-open (1), door-close (0) }
Position ::= REAL (0.0 .. 100.0) Position ::= REAL (-100 .. 100.0)
Floors ::= INTEGER { Floors ::= INTEGER {
floor-0 (10), floor-0 (0),
floor-1 (20), floor-1 (10),
floor-2 (30), floor-2 (20),
floor-3 (40), floor-3 (30),
floor-4 (50), floor-4 (40),
floor-5 (60) floor-5 (50)
} (10 | 20 | 30 | 40 | 50 | 60) } (0 | 10 | 20 | 30 | 40 | 50)
-- Types used for the interfacing with the Simulink model -- Types used for the interfacing with the Simulink model
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment