eclipse-velocitas / vehicle-app-python-sdk

vehicle-app-python-sdk
Apache License 2.0
7 stars 18 forks source link

[Bug]: Outdated/Incomplete example instructions #140

Open erikbosch opened 1 month ago

erikbosch commented 1 month ago

Severity

Medium

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

main

Current Behavior

In the main README there is a list of examples mentioned:

All examples (except the Seat Adjuster) can be run via

cd examples
./run-app.sh -a <example-folder-name>

This does not seem to be that simple, as you then get an errror on that the sdv model does not exist.

vscode ➜ /workspaces/vehicle-app-python-sdk/examples (erik_dep) $ ./run-app.sh -a array-datatype
Run native ...!
Traceback (most recent call last):
  File "/workspaces/vehicle-app-python-sdk/examples/array-datatype/src/main.py", line 21, in <module>
    from sdv_model import Vehicle, vehicle  # type: ignore
  File "/home/vscode/.local/lib/python3.10/site-packages/sdv_model/__init__.py", line 22, in <module>
    from sdv.model import (
ModuleNotFoundError: No module named 'sdv'

Steps to Reproduce

  1. Clone the sdk repo
  2. Start folder in devcontainer
  3. In devcontainer do as stated in the documentation

Expected Behavior

App should be (built and) started

Possible Solution

Update documentation or modify so that script builds the model

Additional Information

No response

Code of Conduct