Skip to content

a non blocking delayed state machine with constant loop time

License

Notifications You must be signed in to change notification settings

ArminPP/NonBlockingStateMachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NonBlockingStateMachine

non blocking delayed state machine with constant loop time

Overview

                                      STATE MACHINE DIAGRAM

             Task 1           Task 2             Task 3           Task n
            +-----+       +-----------+        +--------+       +-------+
            |     |       |           |        |        |       |       |
            |     |       |           |        |        |       |       |
            |     |       |           |        |        |       |       |
            |     |       |           |        |        |       |       |
            +     +-------+           +--------+        +-------+       +-----/ /------+

            |             |                    |                |                      |
            |             |                    |                |                      |
            |             |                    |                |                      |
            |<----------->|<------------------>|<-------------->|<-------------------->|
            |                                                                          |
            |   State 1          State 2             State 3       State n + last Task |
            |                                                                          |
            |                                                                          |
            |                                                                          |
            |<------------------------------------------------------------------------>|
                                   state machine interval time

         every state includes some blocking code (Task) and a nonblocking delay
         the last task fills the gap between runtime and interval time if necessary

About

a non blocking delayed state machine with constant loop time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages