Giter Site home page Giter Site logo

eclipse-leda / leda-example-applications Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 2.0 227 KB

Vehicle application examples and use cases for Eclipse Leda, Velocitas, Kuksa

Home Page: https://eclipse-leda.github.io/leda/docs/app-deployment/

License: Apache License 2.0

Shell 29.41% Dockerfile 29.81% Python 39.88% JavaScript 0.90%
eclipse eclipse-sdv software-defined-vehicle vehicle-cloudification

leda-example-applications's People

Contributors

d-s-e avatar mikehaller avatar vasilvas99 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

leda-example-applications's Issues

carsim: Remove staticx and switch PyInstaller to directory more

Using staticx and PyInstaller "file" mode creates a fat-binary which needs to be uncompressed at runtime.

For containerized applications which are supposed to run in read-only mode, this is bad behaviour and unnecessary:

  • staticx unpacks to /tmp, which is not a real tmpfs. Hence, the container runtime creates a persistent volume/overlay
  • on shutdown of the container, staticx runs a clean up script to delete the tmp files. however, in automotive embedded systems, sress testing includes hard powering-off the devices, which leads to garbage piling up (leftover overlay volumes).
  • a good citizen app would be run in read-only mode, so that no persistent volumes are created at runtime. that requires /tmp to be mounted to a real tmpfs - or even better, the application does not create temp files at all.
  • for an application like carsim, which has no persistence requirements, as the states are kept in the Kuksa Databroker, the container should run in read-only mode.

Tasks:

  • Remove staticx from the build in the Dockerfile
  • Change PyInstaller to directory mode
  • Test the container and functionality with docker run ... --read-only ...

carsim: glitches in VSS output

I am currently building some example workflows with Node-RED on Leda, using data coming from carsim.

But in the data there are some glitches. Suddenly the value for Vehicle.Speed jumps to 0.00 or 216.00.

carsim_glitches

This behavior can also be observed by subscribing with databroker_cli.

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.