Giter Site home page Giter Site logo

rasppifx-template-project's Issues

Implement medium sized app

To verify the template in a more realistic scenario, a larger example app has to be implemented.

This should be done before the students use the template.

Idea: Theremin

https://www.youtube.com/watch?v=ZnTLZtZzrWU

Done

  • LCD Display is used (I2C)
  • Distance Sensor is used (CrowPi Component needs to be enhanced)
  • Distance Sensor Component approved by Pascal
  • Buzzer is used (PWM)
  • GUI consists of TextField (-> LCD), Label (-> Distance), Slider (-> Buzzer)

Debug Run-Config

CrowPi-Tutorial contains a debug run config.

This should be copied.

Done

  • You can debug the application running on RaspPi from your laptop

README completion

done

  • Presentation Model Concept explained
  • How to start a new application based on ExampleApp
  • Debugging is explained
  • How to implement TestCases
  • all todos in README are done

Provide pure Pi4J MVC example

It's recommended to use MVC for applications with a PUI only. There is no need to have a GUI to use MVC

Done

  • example runs on Pi
  • example properly shutdowns GPIO
  • README explains new example
  • example is approved by Frank

Controller actions should be done in separate thread

Actions are triggered by UI elements.

To avoid UI blocking, all these actions should be done outside the UI-thread.

ConcurrentTaskQueue should do the job.

  • new Controller-API designed and liked
  • TestCases are green
  • GUI never freezes even for long running actions
  • action sequence is kept stable

Improve ConcurrentTaskQueue

Currently both 'todo' and 'onDone' are executed in a separate thread.

For TestCases that's a problem.

The TestCase remains green even when an assert fails (when called inside 'onDone').

This is especially important for application specific Controller-Tests, using ControllerBase.runLater

Done

  • Controller Tests turn 'red' if an assert fails or an exception is thrown
  • Controller Tests turn 'green' if all asserts are OK

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.