Closed wallem89 closed 4 years ago
The Python package supports working with the creation of AUTOSAR SWCs and things related to it meaning the part of AUTOSAR which is generally above the RTE. Things below the RTE such as configuration of BSW components are not supported.
However, the Python package does allow anyone to write their own ARXML parsers and writers and plugging them into Python. Please see the methods _registerDefaultElementParsers and _registerDefaultElementWriters in the file workspace.py for examples of how the default parsers and writers registers themselves into the workspace. This registration mechanism is unfortunately not yet documented.
Thanks for the quick reply @cogu.
I didn't think about the difference between arxml files of AUTOSAR SWCs and BsW components.
I will have a look at your undocumented code and see if this can help!
I want to read an existing element:
ECUC-MODULE-CONFIGURATION-VALUES
with theSHORT-NAME
Dcm but it gives the following error:[PackageParser] unhandled: ECUC-MODULE-CONFIGURATION-VALUES
. Does this means this is not supported?Code snip:
I also want to be able to create the
ECUC-MODULE-CONFIGURATION-VALUES
myself but I also don't see this in the documentation.Test arxml "Dcm.arxml":