Code Monkey home page Code Monkey logo

vehicle-app-cpp-template's People

Contributors

bjoernatbosch avatar dennismeister93 avatar doosuu avatar erikbosch avatar kse3hi avatar mml5bg avatar mp91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vehicle-app-cpp-template's Issues

[Bug]: Template broken due to update of devcontainer-base-images/python:v0.3

Severity

High

What release version, tag or commit-hash did you use?

main

Current Behavior

"Check licenses" and "ensure lifecycle management" fails for main

Steps to Reproduce

Trigger the workflows

Expected Behavior

They shall not fail

Possible Solution

No response

Additional Information

No response

Code of Conduct

  • I agree to follow this project's "Code of Conduct".

[Q]: Shall cross-compilation usage be documented

Question

As of today it is not that well described how to cross-compile. Do we need to improve that?

Example 1: Doing a docker build

Using --platform seems to work

docker build -f app/Dockerfile --progress=plain --platform=linux/arm64 -t ex5:latest .

Example 2: Using build script

We also have a build script, but not really well described how to actively use it (in a devcontainer)

apt-get install g++-aarch64-linux-gnu
./install_dependencies.sh -x aarch64
./build.sh -x aarch64

[Feature]: Remove Dapr middleware and K3D runtime

Description

We remove support for K3D runtime and Dapr middleware

  • Both technologies are too heavy weight for in-vehicle applications
  • Flexibility offered is not applicable in in-vehicle hardware architectures
  • Increase development effort in the Velocitas OSS team

Suggested Solution

No response

Alternatives

No response

Additional Context

No response

Can't debug example after cloning from template

Hi,

The task "Local Runtime - Up" seems ok. But When I try to Debug with F5 errors happen :

image

I have few errors in C++ include path.

Screenshot from 2023-06-16 11-18-38

I have also warning :

[6/16/2023, 9:15:36 AM] For C++ source files, IntelliSenseMode was changed from "linux-clang-x64" to "linux-gcc-x64" based on compiler args and querying compilerPath: "/usr/bin/gcc"
[6/16/2023, 9:15:36 AM] For C source files, IntelliSenseMode was changed from "linux-clang-x64" to "linux-gcc-x64" based on compiler args and querying compilerPath: "/usr/bin/gcc"

Could you help me to resolve the issue ?

Regards,
Pat

[Q]: Build binary based on kinds of CPU arch

Question

Is the template code built a binary, rather than a container based on different CPU arch, such arm64v8? If like that, could you provide some ways or scripts for building?

[Bug]: Sample App is deployed with error in Kanto

Severity

Critical

What release version, tag or commit-hash did you use?

f5aff07

Current Behavior

Sample App is not working on Kanto
image

Steps to Reproduce

  1. Kanto Deploy Applicatoin
  2. sudo kantui

Expected Behavior

Sample App is working fine on Kanto

Possible Solution

No response

Additional Information

No response

Code of Conduct

  • I agree to follow this project's "Code of Conduct".

[Bug]: Cannot use name except sampleapp

Severity

Medium

What release version, tag or commit-hash did you use?

30029a9

Current Behavior

Due to unupdated version of devenv-runtimes in .velocitas.json
I can just use app name as sampleapp.
Please refer this issue devenv-runtimes

Steps to Reproduce

  1. Change name of application in Template from sampleapp
  2. Due to the preset of name in devenv-runtimes, we cannot use any other name

Expected Behavior

We need to use other application name

Possible Solution

Change
From
"name": "devenv-runtimes",
"version": "v2.2.1"
to
"name": "devenv-runtimes",
"version": "v2.2.2"

Additional Information

No response

Code of Conduct

  • I agree to follow this project's "Code of Conduct".

[Bug]: Job permission for release workflow

Severity

Trivial

What release version, tag or commit-hash did you use?

main

Current Behavior

In the quick start referenced from the README it is described how to create a release which triggers the release workflow.

It does not state anything about that you might need to change job rights. When running release after using the template errors were reported, upload fails, see https://github.com/erikbosch/vehicle-example-app3/actions/runs/9466300965

This seems to be the same problem (and solution) as in the Python template, see:

Steps to Reproduce

As above

Expected Behavior

No errors

Possible Solution

It appears that my GITHUB_TOKEN for the created repo does not have write rights.
After adding rights like below the job could be run successfully.

I see two possible improvements:

Additional Information

None

Code of Conduct

  • I agree to follow this project's "Code of Conduct".

Running Vehicle App out of the box lead to error

Env:

  • Windows 10
  • MS Visual Studio 1.73.1
  • DevContainers Ext 0.262.3
  • Docker Desktop 4.9.1
  • Behind corporate proxy

Steps to reproduce:

  1. Clone repo locally
  2. Open in MS VSCODE
  3. Reopen in container -> Container opened without error (time ~35 minutes)
  4. Run Task: Local - Start VehicleApp runtime
  5. Press F5

Observation:
image

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.