Active Objects, Hierarchical State Machines and Modeling in Practice
Автор: Quantum Leaps, LLC
Загружено: 2021-10-22
Просмотров: 10445
Описание:
This is the talk "Modern Embedded Programming with Hierarchical State Machines and Active Objects" that Miro Samek presented at the [Embedded Online Conference in May 2021] (https://www.embeddedonlineconference.....
This presentation focuses on the practical aspects of modern embedded programming by showing you, step-by-step, the process of designing and implementing a fun "Fly 'n' Shoot" game to run on an embedded ARM Cortex-M board as well as on your PC.
1:25 Agenda
3:45 "Active Object" design pattern
4:45 Traditional RTOS-based approach
5:28 Perils of blocking
6:05 High-level event-driven design
7:00 Assigning resources to active objects
9:05 Identifying events
10:10 Sequence diagram explanation
15:00 Detailed design and implementation
18:00 QM modeling tool and designing a model in it
27:34 Coding and code generation
35:20 Importance of automatic code generation
35:55 Options of executing active object-based application
37:10 Preemptive, but non-blocking QK kernel
38:33 Running on Windows ("dual-targeting")
40:00 Summary
Specifically, you will see how to partition a problem into loosely coupled, event-driven components called active objects and then how to design interactions among them using sequence diagrams.
Next, you will see how to elaborate the internal behavior of identified active objects with modern hierarchical state machines.
And finally, you will see how the state machines are implemented in C and how this code can be generated automatically.
The session will utilize hands-on demonstrations using EFM32 Pearl-Gecko ARM Cortex-M4 board, the QP/C real-time embedded framework and the QM modeling and code-generation tool.
End Notes:
----------
Embedded software and host-based tools referenced in this video:
https://www.state-machine.com/product...
https://www.state-machine.com/product...
https://www.state-machine.com/product...
Free downloads:
---------------
https://www.state-machine.com/#Downloads
GitHub:
-------
https://github.com/QuantumLeaps/
Music credits:
--------------
The background music comes from:
https://www.bensound.com/royalty-free...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: