Improving CLI tool and improving documentation
This commit is contained in:
42
examples/complex/src/app.marte
Normal file
42
examples/complex/src/app.marte
Normal file
@@ -0,0 +1,42 @@
|
||||
#package complex_ex
|
||||
|
||||
+App = {
|
||||
Class = RealTimeApplication
|
||||
+States = {
|
||||
Class = ReferenceContainer
|
||||
+Run = {
|
||||
Class = RealTimeState
|
||||
+ControlThread = {
|
||||
Class = RealTimeThread
|
||||
Functions = { Controller }
|
||||
}
|
||||
}
|
||||
}
|
||||
+Functions = {
|
||||
Class = ReferenceContainer
|
||||
+Controller = {
|
||||
Class = CustomController // Defined in .marte_schema.cue
|
||||
Gain = 10.5
|
||||
InputSignals = {
|
||||
Ref = {
|
||||
DataSource = App.Data.References
|
||||
Type = float32
|
||||
}
|
||||
}
|
||||
OutputSignals = {
|
||||
Actuation = {
|
||||
DataSource = App.Data.Actuators
|
||||
Type = float32
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+Data = {
|
||||
Class = ReferenceContainer
|
||||
DefaultDataSource = DDB1
|
||||
}
|
||||
+Scheduler = {
|
||||
Class = GAMScheduler
|
||||
TimingDataSource = TimingDS
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user