-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Some month ago we introduced the automated vehicle model generation from a json-based model specification referenced in the AppManifest (before we provided pre-generated models in GitHub repos for Python and C++, which was generated from the original vspec files provided by COVESA).
The switch to the JSON-based format was done, because we wanted to have a single file representation of the VSS signal catalog and also the digital.auto project is providing their models as JSON. This was done under the assumption that json-based VSS specification is semantically identical to vspec-based origin (except file separation, of course).
But unfortunately it isn't: In the vss.json all kind of instances, e.g. like instances of Seats, are expanded and the information that the different seats in Row1 Pos1 and Row2 Pos3 are instances of a single Seat definition is lost.
This leads to the problem that the functions that should offer index based access to instances are not generated as part of the model like they would if using model generation from vspec files. The index-based access functions enable iteration over, for example, the rows of seats and seats per row; means allows for something like this: Vehicle.Cabin.Seat.Row(row_idx).Pos(pos_idx).Position
Unfortunately, we also cannot easily move back to use vspec files for model generation as Digital.Auto is working on json base, only.
We are currently working hard on a solution for this.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status