eclipse-kuksa / kuksa-someip-provider

Apache License 2.0
1 stars 3 forks source link

Example is not working #4

Open ilumie802 opened 4 months ago

ilumie802 commented 4 months ago

Hello,

I just followed the readme to setup the KUKSA Databroker and build the wiper_service and someip_feeder using the provided build scripts.

The connection between the wiper_service and the someip_feeder is working as expected but the connection to the Databroker is not established succesfully:


# DataBrokerFeeder::Run: [info] Connecting to data broker [localhost:55555] ...
# DataBrokerFeeder::Run: [info] connected to data broker.
# CollectorClient::handleGrpcError: [error] DataBrokerFeederImpl::registerDatapoints failed:
    ErrorCode: 12
    ErrorMsg:  ''
    ErrorDet:  ''
    grpcChannelState: 2
# CollectorClient::handleGrpcError: [error] >>> Unrecoverable error -> stopping client.
# ActuatorSubscriber::Run: [info] Starting actuator target subscriber [localhost:55555]
# ActuatorSubscriber::Run: [info] Connected to [localhost:55555]
# ActuatorSubscriber::Run: [info] Actuator targets Subscribed!
# SomeipFeederAdapter::on_actuator_change: [info] updated target_values: 3
# SomeipFeederAdapter::on_actuator_change: [error] wrong value type [0] for Vehicle.Body.Windshield.Front.Wiping.System.Mode```
lukasmittag commented 4 months ago

Since we deprecated the sdv.databroker.v1 interface per default (that is implementing registerDatapoints). You need to enable it by specifying --enable-databroker-v1 to have the interface available. docker run -it --rm -p 55555:55555 ghcr.io/eclipse-kuksa/kuksa-databroker:main --enable-databroker-v1

alexzeit commented 2 months ago

Good news deprecated the sdv.databroker.v1, when are you going to update the sources to new version of Databroker?

we are looking for simple c++ sketch for Databroker feeder and subscriber any hints to this? docu is also very welcome