Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
RESSAC_Use_Case
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
RESSAC
RESSAC_Use_Case
Commits
2d57e931
Commit
2d57e931
authored
Jun 23, 2017
by
Claire Dross
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Layer2_MMS_SW_SPARK: types for physical parameters
parent
c14ca6e6
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
21 additions
and
26 deletions
+21
-26
mms-f_pt-f_cm-input.ads
...seDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_cm-input.ads
+1
-1
mms-f_pt-f_cm-output.ads
...eDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_cm-output.ads
+3
-6
mms-f_pt-f_fc-behavior.ads
...evelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_fc-behavior.ads
+6
-6
mms-f_pt-f_fc-data.ads
...aseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_fc-data.ads
+1
-1
mms-f_pt-f_fc-input.ads
...seDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_fc-input.ads
+3
-3
mms-f_pt-input.ads
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-input.ads
+1
-1
mms-f_pt.ads
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt.ads
+0
-4
mms-input.ads
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-input.ads
+1
-1
mms.ads
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms.ads
+5
-3
No files found.
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_cm-input.ads
View file @
2d57e931
...
@@ -54,7 +54,7 @@ package MMS.F_PT.F_CM.Input is
...
@@ -54,7 +54,7 @@ package MMS.F_PT.F_CM.Input is
function
P_Dot
return
Speed_Type
function
P_Dot
return
Speed_Type
renames
MMS
.
F_PT
.
Input
.
P_Dot
;
renames
MMS
.
F_PT
.
Input
.
P_Dot
;
function
Q
return
A
ltitud
e_Type
function
Q
return
A
ngl
e_Type
renames
MMS
.
F_PT
.
Input
.
Q
;
renames
MMS
.
F_PT
.
Input
.
Q
;
---------------
---------------
...
...
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_cm-output.ads
View file @
2d57e931
...
@@ -95,13 +95,10 @@ package MMS.F_PT.F_CM.Output is
...
@@ -95,13 +95,10 @@ package MMS.F_PT.F_CM.Output is
-- To F_FC --
-- To F_FC --
-------------
-------------
function P return Current_Range_Type;
function P return Distance_Type renames MMS.F_PT.F_CM.Input.P;
-- From MMS.F_PT.F_CM.Input.P, conversion needed
function P_Dot return Current_Speed_Type;
function P_Dot return Speed_Type renames MMS.F_PT.F_CM.Input.P_Dot;
-- From MMS.F_PT.F_CM.Input.P_Dot, conversion needed
function Q return Current_Altitude_Type;
function Q return Angle_Type renames MMS.F_PT.F_CM.Input.Q;
-- From MMS.F_PT.F_CM.Input.Q, conversion needed
end MMS.F_PT.F_CM.Output;
end MMS.F_PT.F_CM.Output;
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_fc-behavior.ads
View file @
2d57e931
...
@@ -6,14 +6,14 @@ package MMS.F_PT.F_FC.Behavior is
...
@@ -6,14 +6,14 @@ package MMS.F_PT.F_FC.Behavior is
--
Inputs
--
--
Inputs
--
------------
------------
function
P
return
Current_Range_Type
;
function
P
return
Distance_Type
;
function
P_Dot
return
Current_Speed_Type
;
function
P_Dot
return
Speed_Type
;
function
Q
return
Angle_Type
;
----------------------
----------------------
--
Estimated
Values
--
--
Estimated
Values
--
----------------------
----------------------
function
Q_Angle
return
Angle_Type
;
function
Q_Dot
return
Angular_Speed_Type
;
function
Q_Dot
return
Angular_Speed_Type
;
------------
------------
...
@@ -34,13 +34,13 @@ package MMS.F_PT.F_FC.Behavior is
...
@@ -34,13 +34,13 @@ package MMS.F_PT.F_FC.Behavior is
(
case
Phase_State
is
(
case
Phase_State
is
when
CLIMB
=>
when
CLIMB
=>
Q_Dot
in
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MinCl
..
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MaxCl
Q_Dot
in
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MinCl
..
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MaxCl
and
Q
_Angle
<
MMS
.
F_PT
.
F_FC
.
Data
.
Q_MaxCl
,
and
Q
<
MMS
.
F_PT
.
F_FC
.
Data
.
Q_MaxCl
,
when
CRUISE
=>
when
CRUISE
=>
Q_Dot
in
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MinCr
..
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MaxCr
Q_Dot
in
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MinCr
..
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MaxCr
and
Q
_Angle
>
MMS
.
F_PT
.
F_FC
.
Data
.
Q_MinCr
and
Q
>
MMS
.
F_PT
.
F_FC
.
Data
.
Q_MinCr
and
P_Dot
<
MMS
.
F_PT
.
F_FC
.
Data
.
Pdot_MaxCr
,
and
P_Dot
<
MMS
.
F_PT
.
F_FC
.
Data
.
Pdot_MaxCr
,
when
DESCENT
=>
when
DESCENT
=>
Q_Dot
in
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MinDs
..
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MaxDs
Q_Dot
in
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MinDs
..
MMS
.
F_PT
.
F_FC
.
Data
.
Qdot_MaxDs
and
Q
_Angle
<
MMS
.
F_PT
.
F_FC
.
Data
.
Q_MaxDs
);
and
Q
<
MMS
.
F_PT
.
F_FC
.
Data
.
Q_MaxDs
);
end
MMS
.
F_PT
.
F_FC
.
Behavior
;
end
MMS
.
F_PT
.
F_FC
.
Behavior
;
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_fc-data.ads
View file @
2d57e931
...
@@ -51,7 +51,7 @@ package MMS.F_PT.F_FC.Data is
...
@@ -51,7 +51,7 @@ package MMS.F_PT.F_FC.Data is
Qdot_MinCr : Angular_Speed_Type; -- in angle.s-1
Qdot_MinCr : Angular_Speed_Type; -- in angle.s-1
Qdot_MaxCr : Angular_Speed_Type; -- in angle.s-1
Qdot_MaxCr : Angular_Speed_Type; -- in angle.s-1
Q_MinCr : Angle_Type; -- in angle
Q_MinCr : Angle_Type; -- in angle
Pdot_MaxCr :
Current_
Speed_Type; -- in km/h
Pdot_MaxCr : Speed_Type; -- in km/h
Qdot_MinDs : Angular_Speed_Type; -- in angle.s-1
Qdot_MinDs : Angular_Speed_Type; -- in angle.s-1
Qdot_MaxDs : Angular_Speed_Type; -- in angle.s-1
Qdot_MaxDs : Angular_Speed_Type; -- in angle.s-1
Q_MaxDs : Angle_Type; -- in angle
Q_MaxDs : Angle_Type; -- in angle
...
...
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_fc-input.ads
View file @
2d57e931
...
@@ -7,13 +7,13 @@ package MMS.F_PT.F_FC.Input is
...
@@ -7,13 +7,13 @@ package MMS.F_PT.F_FC.Input is
--
From
F_CM
--
--
From
F_CM
--
---------------
---------------
function
P
return
Current_Rang
e_Type
function
P
return
Distanc
e_Type
renames
MMS
.
F_PT
.
F_CM
.
Output
.
P
;
renames
MMS
.
F_PT
.
F_CM
.
Output
.
P
;
function
P_Dot
return
Current_
Speed_Type
function
P_Dot
return
Speed_Type
renames
MMS
.
F_PT
.
F_CM
.
Output
.
P_Dot
;
renames
MMS
.
F_PT
.
F_CM
.
Output
.
P_Dot
;
function
Q
return
Current_Altitud
e_Type
function
Q
return
Angl
e_Type
renames
MMS
.
F_PT
.
F_CM
.
Output
.
Q
;
renames
MMS
.
F_PT
.
F_CM
.
Output
.
Q
;
function
Payload_Mass
return
Payload_Mass_Type
function
Payload_Mass
return
Payload_Mass_Type
...
...
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-input.ads
View file @
2d57e931
...
@@ -52,7 +52,7 @@ package MMS.F_PT.Input is
...
@@ -52,7 +52,7 @@ package MMS.F_PT.Input is
function
P_Dot
return
Speed_Type
function
P_Dot
return
Speed_Type
renames
MMS
.
Input
.
P_Dot
;
renames
MMS
.
Input
.
P_Dot
;
function
Q
return
A
ltitud
e_Type
function
Q
return
A
ngl
e_Type
renames
MMS
.
Input
.
Q
;
renames
MMS
.
Input
.
Q
;
---------------
---------------
...
...
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt.ads
View file @
2d57e931
...
@@ -6,10 +6,6 @@ package MMS.F_PT is
...
@@ -6,10 +6,6 @@ package MMS.F_PT is
type
Current_Altitude_Type
is
range
-
200
..
1
_000
;
--
in
meters
type
Current_Altitude_Type
is
range
-
200
..
1
_000
;
--
in
meters
type
Angle_Type
is
new
Float
;
--
in
Angle
bounds
???
type
Angular_Speed_Type
is
new
Float
;
--
in
Angle
.
s
-
1
bounds
???
type
Estimated_Total_Mass_Type
is
delta
0.1
range
5.0
..
10.0
;
--
in
kg
???
type
Estimated_Total_Mass_Type
is
delta
0.1
range
5.0
..
10.0
;
--
in
kg
???
type
Energy_Level_Type
is
range
0
..
500
;
--
in
kj
type
Energy_Level_Type
is
range
0
..
500
;
--
in
kj
...
...
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-input.ads
View file @
2d57e931
...
@@ -42,6 +42,6 @@ package MMS.Input is
...
@@ -42,6 +42,6 @@ package MMS.Input is
function
P_Dot
return
Speed_Type
;
function
P_Dot
return
Speed_Type
;
function
Q
return
A
ltitud
e_Type
;
function
Q
return
A
ngl
e_Type
;
end
MMS
.
Input
;
end
MMS
.
Input
;
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms.ads
View file @
2d57e931
...
@@ -41,11 +41,13 @@ package MMS is
...
@@ -41,11 +41,13 @@ package MMS is
type
Payload_Mass_Type
is
new
Integer
range
0
..
98
;
--
in
kg
type
Payload_Mass_Type
is
new
Integer
range
0
..
98
;
--
in
kg
type
Distance_Type
is
new
Float
;
--
in
n
.
m
type
Distance_Type
is
new
Float
;
--
type
of
P
,
unit
and
bounds
???
type
Speed_Type
is
new
Float
;
--
in
k
.
t
type
Speed_Type
is
new
Float
;
--
type
of
P_Dot
,
unit
and
bounds
???
type
Altitude_Type
is
new
Float
;
--
in
ft
type
Angle_Type
is
new
Float
;
--
type
of
Q
,
unit
and
bounds
???
type
Angular_Speed_Type
is
new
Float
;
--
type
of
Q_Dot
,
unit
and
bounds
???
type
Rotactor_Type
is
range
0
..
9
;
type
Rotactor_Type
is
range
0
..
9
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment