Skip to content

[Q]: Usage of SeatService / HvacService using .proto files #262

@LS0205

Description

@LS0205

Question

I am currently working on a Vehicle App in python and wanted to implement the dogmode example and the seat adjuster example in one Vehicle App using proto files. I added the proto files to the vehicle model, generated the grpc.py files and added init-py files for the respective Service which wraps the SeatService / HvacService class, as described in the documentation. However when i try to run the app i get the following errors:

"Executing task: velocitas exec runtime-local run-vehicle-app python3 /workspaces/Velocitas_Vapp/app/src/main.py

Can't find the service location for HvacService, make sure to set the
necessary env variables for all dependencies
Can't find the service location for SeatService, make sure to set the
necessary env variables for all dependencies"

How do i fix these Errors? I have imported the Service class form velocitas_sdk.model.

Proto Files:
https://github.com/eclipse-kuksa/kuksa-incubation/blob/main/seat_service/proto/sdv/edge/comfort/seats/v1/seats.proto

https://github.com/eclipse-velocitas/vehicle-app-python-sdk/blob/main/examples/dog-mode/src/vehicle_model/proto/hvac.proto

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions