-
Notifications
You must be signed in to change notification settings - Fork 51
Problems setting types for mapping signals to VSS using MQTT #211
Comments
How did you start kuksa.val? (especially MQTT parameters)? When setting the |
@SebastianSchildt I think it is bug, I can reproduce the issue. It is quite surprised, that log does not report any error. I will have a look at it later |
I assume the root cause is, that the path I did a PR that will provide more clear logging in the server #212 If in the usecase above a feeder was used (@anntexx ? ) , I think we should also fix it, to check whether a set suceeded or not and provide an error message there also (and maybe adapt our examples) |
@SebastianSchildt I found sth. strange:
I also found the log:
But I am not able to reproduce the error using the
|
@SebastianSchildt is it possible to map DIgear118? the value of this signal is |
dbcfeeder currently does not do any conversion except those in the dbc file. This would be an important feature to write more flexible mapping files. The mapping of the Gear signal to strings is described in kuksa.val/kuksa_feeders/dbc2val/Model3CAN.dbc Line 4153 in d81ff3d
I ca not be naively mapped to "Gear": {
"datatype": "int8",
"type": "actuator",
"min": -1,
"max": 16,
"description": "Current gear. 0=Neutral. -1=Reverse",
"uuid": "d72df16818e75f71b9fffdff8250e9b9"
}, For "P" Vehicle.Chassis.ParkingBrake should be used additionally "ParkingBrake": {
"type": "branch",
"description": "Parking brake signals",
"uuid": "3849d42292f4551590fa4bf716fc90f7",
"children": {
"IsEngaged": {
"datatype": "boolean",
"type": "actuator",
"description": "Parking brake status. True = Parking Brake is Engaged. False = Parking Brake is not Engaged.",
"uuid": "faa7f94e6a5555c6b2d62e3328520ce0"
}
}
}, |
I will close this issue, this strange behavior with set 0.0 should be solved by solving #209 |
When I configure kuksa.val to publish vehicle signals to a MQTT mosquitto broker, it seems that only some data points are published to the MQTT broker. It seems in the logs, that not every new signal triggers an update in the SubscriptionHandler as it happens with the "Vehicle.OBD.Speed" signal. @wenwenchenbosch: Is this related to a type check problem?
extract of the log of kuksa.val:
The text was updated successfully, but these errors were encountered: