From d7e3d5fc795defe5568707daaae8292d5e808673 Mon Sep 17 00:00:00 2001 From: FlightControl Date: Fri, 23 Dec 2016 07:11:22 +0100 Subject: [PATCH] FSM doc --- Moose Development/Moose/Core/Fsm.lua | 6 +++--- .../{DOC.MOOSE - FSM - 1. Concepts => FSM}/Dia1.JPG | Bin .../{DOC.MOOSE - FSM - 1. Concepts => FSM}/Dia2.JPG | Bin .../{DOC.MOOSE - FSM - 1. Concepts => FSM}/Dia3.JPG | Bin .../{DOC.MOOSE - FSM - 1. Concepts => FSM}/Dia4.JPG | Bin 5 files changed, 3 insertions(+), 3 deletions(-) rename docs/Presentations/{DOC.MOOSE - FSM - 1. Concepts => FSM}/Dia1.JPG (100%) rename docs/Presentations/{DOC.MOOSE - FSM - 1. Concepts => FSM}/Dia2.JPG (100%) rename docs/Presentations/{DOC.MOOSE - FSM - 1. Concepts => FSM}/Dia3.JPG (100%) rename docs/Presentations/{DOC.MOOSE - FSM - 1. Concepts => FSM}/Dia4.JPG (100%) diff --git a/Moose Development/Moose/Core/Fsm.lua b/Moose Development/Moose/Core/Fsm.lua index 586b1deeb..cf1dc5d90 100644 --- a/Moose Development/Moose/Core/Fsm.lua +++ b/Moose Development/Moose/Core/Fsm.lua @@ -15,7 +15,7 @@ -- * A **State** defines a moment in the process. -- * An **Event** describes an action, that can be triggered both internally as externally in the FSM. An Event can be triggered Embedded or Delayed over time. -- --- ![Test Image](docs\Presentations\DOC.MOOSE - FSM - 1. Concepts\Dia1.jpg) +-- ![Test Image](.\Presentations\FSM\Dia1.jpg) -- -- An FSM transitions in **4 moments** when an Event is being handled. -- Each moment can be catched by handling methods defined by the mission designer, @@ -27,7 +27,7 @@ -- -- ** The OnLeave and OnBefore transition methods may return false to cancel the transition.** -- --- ![Test Image](docs\Presentations\DOC.MOOSE - FSM - 1. Concepts\Dia3.jpg) +-- ![Test Image](.\Presentations\FSM\Dia3.jpg) -- -- The FSM creates for each Event **two Event trigger methods**. -- There are two modes how Events can be triggered, which is **embedded** and **delayed**: @@ -35,7 +35,7 @@ -- * The method **FSM:Event()** triggers an Event that will be processed **embedded** or **immediately**. -- * The method **FSM:__Event( seconds )** triggers an Event that will be processed **delayed** over time, waiting x seconds. -- --- ![Test Image](docs\Presentations\DOC.MOOSE - FSM - 1. Concepts\Dia4.jpg) +-- ![Test Image](.\Presentations\FSM\Dia4.jpg) -- -- 1.1) Define the FSM Rules -- ------------------------- diff --git a/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia1.JPG b/docs/Presentations/FSM/Dia1.JPG similarity index 100% rename from docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia1.JPG rename to docs/Presentations/FSM/Dia1.JPG diff --git a/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia2.JPG b/docs/Presentations/FSM/Dia2.JPG similarity index 100% rename from docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia2.JPG rename to docs/Presentations/FSM/Dia2.JPG diff --git a/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia3.JPG b/docs/Presentations/FSM/Dia3.JPG similarity index 100% rename from docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia3.JPG rename to docs/Presentations/FSM/Dia3.JPG diff --git a/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia4.JPG b/docs/Presentations/FSM/Dia4.JPG similarity index 100% rename from docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia4.JPG rename to docs/Presentations/FSM/Dia4.JPG