-
Notifications
You must be signed in to change notification settings - Fork 9
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
Semantic definition of different signal/attribute types #19
Comments
We already have part of this described in https://github.com/w3c/vsso/blob/main/vsso-core/vsso-core.ttl But I noted some deviations or potential errors there:
Lately we have said in VSS that "attribute values should typically not change more than once per ignition cycle", which is more frequently than "at least over the duration of a vehicle lifecycle"
Should be |
I agree that the semantic definition of signal types is there for StaticVehicleProperty, DynamicVehicleProperty, Observable- and ActuatableProperty. What is still missing is to differentiate between NumericProperty and EnumerationProperty. |
As stated in w3c#19 the metadata of ObservableVehicleProperty was incorrect: * referred to VSS `actuator` instead of `sensor` * `seeAlso` link was broken This commit fixes it. Signed-off-by: Daniel Wilms <Daniel.DW.Wilms@bmw.de>
As stated in w3c#19 the metadata of ObservableVehicleProperty was incorrect: * referred to VSS `actuator` instead of `sensor` * `seeAlso` link was broken * `StaticVehicleProperty` defined as in VSS * Text in `DynamicVehicleProperty` adapted as well This commit fixes it. Signed-off-by: Daniel Wilms <Daniel.DW.Wilms@bmw.de>
As stated in w3c#19 the metadata of ObservableVehicleProperty was incorrect: * referred to VSS `actuator` instead of `sensor` * `seeAlso` link was broken * `StaticVehicleProperty` defined as in VSS * Text in `DynamicVehicleProperty` adapted as well This commit fixes it. Signed-off-by: Daniel Wilms <Daniel.DW.Wilms@bmw.de>
Fixed in #20
You're right. Fixed it. Fixed the links as well. |
[vsso-core] Fixes ObservableVehicleProperty
I have a proposal to solve the extra classification in a (semantically) consistent manner. So far, the main classification of vehicle properties has been:
I propose to add an object property called The rest is handled by a
Resulting in a classification like this:
It would be easier to maintain them instead of having them also in the hierarchy as primitive classes. |
This is indeed a clean approach. Do you want to force having for ALL |
As of today, the VSS does not have any other kind of variable apart from numerical and categorical, which means that the mapped VSSo doesn't have it either. Even the Boolean data types indicate a category as true or false. What could happen, however, is that in the future some other kind is introduced. For example, complex structures from camera, radar, LiDAR sensors. If that is the case, then we add the missing defined class and the extra individual needed to VSSo-core and push a version update. In my opinion, the major benefit of this extra classification comes in the practical setup, where you might have different processing pipelines for each of the variable types. For example: the statistics of a numerical variable differ from the ones of categories. |
I would not use categorical when the set of values is Boolean (true / false). Depending on the implementation, this can be translated into 0,1 and it has anyway a slightly different meaning than enumerating possible values. Can we already create a third variableKind for Boolean properties? |
How do you want to store the enumeration values then? |
A boolean does not express a quantity, but quality or status of something. Maybe I used the wrong terms to communicate my idea: I mean:
See, for example, this short description of variable types. Types/Kinds of variablesTo sum up, the following distinction is proposed:
|
In order to fully represent the different types of signals and attributes that can be defined in VSS we need to differentiate the following types of signals/attributes in VSSo:
Orthogonal to that classification we also should differentiate between:
The text was updated successfully, but these errors were encountered: