Coder Social home page Coder Social logo

itemiscreate / examples Goto Github PK

View Code? Open in Web Editor NEW
21.0 10.0 25.0 68.98 MB

YAKINDU Statechart Tools examples

C++ 1.80% C 88.61% HTML 2.05% CSS 6.34% Java 0.30% QMake 0.02% Batchfile 0.16% Python 0.18% QML 0.11% Assembly 0.43% CMake 0.01% Makefile 0.01%
yakindu yakindu-statechart state-machine examples java arduino msp430 raspberry scxml

examples's Introduction

Welcome to the YAKINDU Statechart Tools Examples Repository!

This repository is hosting examples for YAKINDU Statechart Tools.

With YAKINDU Statechart Tools, you can easily create complex systems in a visual way. Simulate and test your system’s behavior already while you are modeling. Code generators translate your state machine into high-quality source code for different target platforms.

You can browse all examples on our website.

Using the Example Wizard, which is available in YAKINDU Statechart Tools since release 2.7, clones this repository to your local disk and so that you can explore the examples easily.

If you think you have a good example as well, feel free to submit is by creating a pull request! Your contributions are very much appreciated!

More information is available in the Examples Repository Wiki.

examples's People

Contributors

andreasmuelder avatar beckmar avatar dariosb avatar dtrace82 avatar jthoene avatar laszloitemis avatar leanfrancucci avatar mazesch avatar mettke avatar norbertlang avatar rainerklute avatar rherrmannr avatar subenia avatar svenjawendler avatar tangele avatar terfloth avatar thomasdo87 avatar tkutz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

examples's Issues

Rework description for traffic light with SCTUnit

  • Put more emphasize on SCTUnit: add test case in description, show coverage view, describe how to generate junit tests and how to run them
  • Remove requirement for mockito (the library is checked in)
  • Remove build problem issue description (I had no error marker after import)

Mirror example repository on the website

The examples in the example repository should be mirrored on the YAKINDU Statechart Tools website so that users can browse and download them without having to run the IDE and the example wizard.

Name "traffic light" example consistently

At some places the "traffic light" example is named "traffic light", at other places "traffic light waiting". It should be named "traffic light" consistently everywhere, i.e. names of models, files, classes, whatsoever – and of course in the documentation.

Open links in system browser

For some links in the description HTMLs we have problems opening them in the Example Wizard. This is especially the case for our own blog post. Nevertheless, we should open all links in an external browser as one usually wants to read additional information, or install software etc. which is better in a system browser than using the wizard.

Inconsistent styling for PRO examples

Only coffee machine and sensor examples have a red PRO badge in the html description.

This should be consistent, either all or none should have this badge.

coffee_machine_pro segfaults

System: Ubuntu 64 Bit, gcc 5.4.0

!!!Hello Coffee!!!
general commands are:
(o) toggle on/off
(t) toggle state trace
(q) quit
-> [On]
o
[On] ->
-> [On.Welcome]
** Welcome to YAKINDU Coffee Maker **
-> [On.HeatingUp]
[On.HeatingUp] ->
* heating-> [On.WaitForChoice]
...............[On.WaitForChoice] ->

* choose:
(1) coffee
(2) espresso
(3) cappucino
(4) latte macchiato
(5) milk
-> [On.SaveEnergy]
2
[On.SaveEnergy] ->
Preparing espresso-> [On.ProcessRecipe.MakeMilk]
-> [On.ProcessRecipe.MakeCoffee.MillingBeans]
-> [On.ProcessRecipe.MakeCoffee.BrewCoffee]
....................[On.ProcessRecipe.MakeCoffee.BrewCoffee] ->
Speicherzugriffsfehler (Speicherabzug geschrieben)

example descriptions in SCT: no link hovering; no obvious way to access previous webpage after clicking on url

Some of the example descriptions contain external links, similar to Click *here* for additional information

  • no link hovering is available there. That means, the user cannot figure out if that link contains potential interesting information without actually visiting the url.
  • after clicking on such an url, its not obvious for some users, that you can go to the original page by pressing backspace.

Therefore, it might make sense to open such an url by default in the default webbrowser of the system. When we cannot do that, we should remove those external links and just write the URL out.

Cleanup 'examples/traffic_light_arduino'

as e.g. .elf is a binary format it isn't compareable well and mostly marked as changed when using git/eGit. in some circumstances it isn't possible to switch/rebase branches,

Further the whole folder 'traffic_light_arduino\Release' is a majorly platform dependant result and therefore should not be present in the repository.

Consolidate examples by Tom Mens

Prof. Tom Mens from University of Mons, Belgium allowed us to add his examples to our example repository.

We need to check which examples make sense for us to add. We could add a project with his examples sorted by the youtube videos he uploaded.

Improve description texts

Following aspects can be checked:

  • update screenshots to have pinned def section, syntax highlighting and proper resolution
  • add short abstract to highlight what this example is demonstrating (similar to the getting started examples)
  • check if we can improve some styling issues (make things look nicer)

Feature request: Open index.html in browser on example checkout

It would be nice to have the description of an example available after checking it out. I do not think all users know that they need to open index.html. I guess they rather open the example wizard again to read the description; but this wizard is modal, so user experience is not that good.

It would be nice if after checkout of an example the system browser opens with the index.html, so you can have example and its description side by side.

Move legacy examples here

The YAKINDU Statechart Tools documentation references some legacy examples that are no longer available in the referenced repositories, and even not all of those repositories do exist anymore.

These old examples have to be located and placed into the examples repository, so the documentation can properly reference them.

Refactor examples

TODO:

  • use css style sheet (ycar example) for every project
  • overall pinned as default
  • implement SCTUnit for some examples
  • create examples according to user docu
  • use the same folder hierarchy -> src, srg-gen, test-gen, model
  • delete all warnings out of the projects
  • move swift example to labs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.