Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example is not working #4

Open
ilumie802 opened this issue Jul 9, 2024 · 2 comments
Open

Example is not working #4

ilumie802 opened this issue Jul 9, 2024 · 2 comments

Comments

@ilumie802
Copy link

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
Copy link
Contributor

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
Copy link

alexzeit commented Sep 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants