You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to understand a (unique I think) problem with the CAN signals. I need to combine more than one CAN messages into one VSS signal. For example: The latitude (DMS) is reported in two different CAN messages as integers. Likewise Longitude value is also reported in two different CAN messages. Is there a concatenate operator which can be used to combine two different signal values to get latitude (and longitude) into one DMS (float) value?
The text was updated successfully, but these errors were encountered:
As of today we do not have any support in the mapping syntax to describe more complex mapping, like when multiple CAN-signals are needed to create a VSS-signal.
It would be a possibility to extend the mapping syntax to allow to give multiple CAN-signals as "source", but then one would also need to make sure that the conversion happens atomically so that you do not use the "old value" for the first part of the longitude and the "new value" for the second part.
A possible work-around is to extend VSS with some private signals (like LongitudeMSB and LongitudeLSB) and let some other app/client do the concatenation. But also then one could get into problems if data is not handled atomically.
I am trying to understand a (unique I think) problem with the CAN signals. I need to combine more than one CAN messages into one VSS signal. For example: The latitude (DMS) is reported in two different CAN messages as integers. Likewise Longitude value is also reported in two different CAN messages. Is there a concatenate operator which can be used to combine two different signal values to get latitude (and longitude) into one DMS (float) value?
The text was updated successfully, but these errors were encountered: