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
6035ffd1
Commit
6035ffd1
authored
Jun 16, 2017
by
Anthony Leonardo Gracio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Take into account Rotactors and use the same type for energy sources
parent
ed2db688
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
11 deletions
+25
-11
mms-f_pt-f_cm-input.ads
...seDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_cm-input.ads
+7
-1
mms-f_pt-f_cm-output.ads
...eDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_cm-output.ads
+4
-4
mms-f_pt-input.ads
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-input.ads
+7
-1
mms-input.ads
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-input.ads
+4
-0
mms.ads
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms.ads
+3
-5
No files found.
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_cm-input.ads
View file @
6035ffd1
...
@@ -41,7 +41,13 @@ package MMS.F_PT.F_CM.Input is
...
@@ -41,7 +41,13 @@ package MMS.F_PT.F_CM.Input is
function
USB_Key
return
Navigation_Parameters_Type
function
USB_Key
return
Navigation_Parameters_Type
renames
MMS
.
F_PT
.
Input
.
USB_Key
;
renames
MMS
.
F_PT
.
Input
.
USB_Key
;
function
Rotactor_1
return
Rotactor_Type
renames
MMS
.
F_PT
.
Input
.
Rotactor_1
;
function
Rotactor_2
return
Rotactor_Type
renames
MMS
.
F_PT
.
Input
.
Rotactor_2
;
function
P
return
Distance_Type
function
P
return
Distance_Type
renames
MMS
.
F_PT
.
Input
.
P
;
renames
MMS
.
F_PT
.
Input
.
P
;
...
...
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-f_cm-output.ads
View file @
6035ffd1
...
@@ -12,8 +12,8 @@ package MMS.F_PT.F_CM.Output is
...
@@ -12,8 +12,8 @@ package MMS.F_PT.F_CM.Output is
Mode => MMS.F_PT.F_CM.Input.Mode_Switch,
Mode => MMS.F_PT.F_CM.Input.Mode_Switch,
Bay => MMS.F_PT.F_CM.Input.Bay_Switch,
Bay => MMS.F_PT.F_CM.Input.Bay_Switch,
Start => MMS.F_PT.F_CM.Input.Start_Push_Button,
Start => MMS.F_PT.F_CM.Input.Start_Push_Button,
Rotactor_1 =>
1, -- ???
Rotactor_1 =>
MMS.F_PT.F_CM.Input.Rotactor_1,
Rotactor_2 =>
1)); -- ???
Rotactor_2 =>
MMS.F_PT.F_CM.Input.Rotactor_2));
function CP_Displays return CP_Displays_Type is
function CP_Displays return CP_Displays_Type is
(CP_Displays_Type'
(CP_Displays_Type'
...
@@ -26,8 +26,8 @@ package MMS.F_PT.F_CM.Output is
...
@@ -26,8 +26,8 @@ package MMS.F_PT.F_CM.Output is
function
Propulsion_Energy
return
Propulsion_Energy_Type
is
function
Propulsion_Energy
return
Propulsion_Energy_Type
is
(
Propulsion_Energy_Type
'
(
Propulsion_Energy_Type
'
(Primary_Source_Capacity =>
1, -- ???
(Primary_Source_Capacity =>
MMS.F_PT.F_CM.Input.Primary_Source,
Secondary_Source_Capacity =>
1)); -- ???
Secondary_Source_Capacity =>
MMS.F_PT.F_CM.Input.Secondary_Source));
function Mission_Cancelled return Boolean
function Mission_Cancelled return Boolean
renames MMS.F_PT.F_CM.Input.Mission_Cancelled;
renames MMS.F_PT.F_CM.Input.Mission_Cancelled;
...
...
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-f_pt-input.ads
View file @
6035ffd1
...
@@ -39,7 +39,13 @@ package MMS.F_PT.Input is
...
@@ -39,7 +39,13 @@ package MMS.F_PT.Input is
function
USB_Key
return
Navigation_Parameters_Type
function
USB_Key
return
Navigation_Parameters_Type
renames
MMS
.
Input
.
USB_Key
;
renames
MMS
.
Input
.
USB_Key
;
function
Rotactor_1
return
Rotactor_Type
renames
MMS
.
Input
.
Rotactor_1
;
function
Rotactor_2
return
Rotactor_Type
renames
MMS
.
Input
.
Rotactor_2
;
function
P
return
Distance_Type
function
P
return
Distance_Type
renames
MMS
.
Input
.
P
;
renames
MMS
.
Input
.
P
;
...
...
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms-input.ads
View file @
6035ffd1
...
@@ -30,6 +30,10 @@ package MMS.Input is
...
@@ -30,6 +30,10 @@ package MMS.Input is
function
USB_Key
return
Navigation_Parameters_Type
;
function
USB_Key
return
Navigation_Parameters_Type
;
function
Rotactor_1
return
Rotactor_Type
;
function
Rotactor_2
return
Rotactor_Type
;
-------------------------
-------------------------
--
Physical
Parameters
--
--
Physical
Parameters
--
-------------------------
-------------------------
...
...
UseCaseDevelopment/Layer2_MMS_SW_SPARK/mms.ads
View file @
6035ffd1
...
@@ -68,12 +68,10 @@ package MMS is
...
@@ -68,12 +68,10 @@ package MMS is
Primary_Source
:
Source_Type
;
Primary_Source
:
Source_Type
;
Secondary_Source
:
Source_Type
;
Secondary_Source
:
Source_Type
;
end
record
;
end
record
;
type
Source_Capacity_Type
is
range
1
..
99
_999
;
type
Propulsion_Energy_Type
is
record
type
Propulsion_Energy_Type
is
record
Primary_Source_Capacity
:
Source_
Capacity_
Type
;
Primary_Source_Capacity
:
Source_Type
;
Secondary_Source_Capacity
:
Source_
Capacity_
Type
;
Secondary_Source_Capacity
:
Source_Type
;
end
record
;
end
record
;
type
Torque_Type
is
delta
0.0001
range
-
10.0E6
..
10.0E6
;
--
???
type
Torque_Type
is
delta
0.0001
range
-
10.0E6
..
10.0E6
;
--
???
...
...
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