Skip to content

Commit 2a2e02b

Browse files
committed
used enum
1 parent c172a2a commit 2a2e02b

18 files changed

+56
-0
lines changed

Diff for: architectures/arch_logical.slx

25.9 KB
Binary file not shown.

Diff for: architectures/arch_logical~mdl.slmx

-227 Bytes
Binary file not shown.

Diff for: dictionaries/enums/ObstacleMode.m

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
% Copyright (C) 2024 Fondazione Istitito Italiano di Tecnologia (IIT)
2+
% All Rights Reserved.
3+
4+
classdef ObstacleMode < Simulink.IntEnumType
5+
enumeration
6+
Off(0)
7+
On(1)
8+
end
9+
methods (Static = true)
10+
function retVal = addClassNameToEnumNames()
11+
retVal = true;
12+
end
13+
end
14+
end

Diff for: dictionaries/enums/PendulumTypes.m

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
% Copyright (C) 2024 Fondazione Istitito Italiano di Tecnologia (IIT)
2+
% All Rights Reserved.
3+
4+
classdef PendulumTypes < Simulink.IntEnumType
5+
enumeration
6+
Pendulum_1(1)
7+
Pendulum_2(2)
8+
end
9+
methods (Static = true)
10+
function retVal = addClassNameToEnumNames()
11+
retVal = true;
12+
end
13+
end
14+
end

Diff for: requirements/req_functional.slreqx

1 Byte
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<Info Ref="dictionaries/enums" Type="Relative"/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<Info location="d32a4eed-4818-4a8d-baa9-6f57a1e6da0d" type="Reference"/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<Info/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<Info location="enums" type="File"/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<Info/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<Info location="1" type="DIR_SIGNIFIER"/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<Info>
3+
<Category UUID="FileClassCategory">
4+
<Label UUID="design"/>
5+
</Category>
6+
</Info>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<Info location="ObstacleMode.m" type="File"/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<Info>
3+
<Category UUID="FileClassCategory">
4+
<Label UUID="design"/>
5+
</Category>
6+
</Info>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<Info location="PendulumTypes.m" type="File"/>

Diff for: tests/playback_mech_explorer.slx

2.11 KB
Binary file not shown.

Diff for: tests/test_req.mldatx

40 Bytes
Binary file not shown.

Diff for: tests/test_req~mldatx.slmx

244 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)