Releases: cogu/autosar
Releases · cogu/autosar
v0.5.4
Added
XML - Software component elements
- PModeGroupInAtomicSwcInstanceRef | P-MODE-GROUP-IN-ATOMIC-SWC-INSTANCE-REF
- POperationInAtomicSwcInstanceRef | P-OPERATION-IN-ATOMIC-SWC-INSTANCE-REF
- PTriggerInAtomicSwcTypeInstanceRef | P-TRIGGER-IN-ATOMIC-SWC-TYPE-INSTANCE-REF
- RModeInAtomicSwcInstanceRef | R-MODE-IN-ATOMIC-SWC-INSTANCE-REF
- RTriggerInAtomicSwcInstanceRef | R-TRIGGER-IN-ATOMIC-SWC-INSTANCE-REF
- RVariableInAtomicSwcInstanceRef | R-VARIABLE-IN-ATOMIC-SWC-INSTANCE-REF
XML - SWC internal behavior elements
- AsynchronousServerCallReturnsEvent | ASYNCHRONOUS-SERVER-CALL-RETURNS-EVENT
- BackgroundEvent | BACKGROUND-EVENT
- DataReceivedEvent | DATA-RECEIVED-EVENT
- DataReceiveErrorEvent | DATA-RECEIVE-ERROR-EVENT
- DataSendCompletedEvent | DATA-SEND-COMPLETED-EVENT
- DataWriteCompletedEvent | DATA-WRITE-COMPLETED-EVENT
- ExclusiveAreaRefConditional | EXCLUSIVE-AREA-REF-CONDITIONAL
- ExecutableEntityActivationReason | EXECUTABLE-ENTITY-ACTIVATION-REASON
- ExternalTriggerOccurredEvent | EXTERNAL-TRIGGER-OCCURRED-EVENT
- InitEvent | INIT-EVENT
- InternalTriggerOccurredEvent | INTERNAL-TRIGGER-OCCURRED-EVENT
- ModeSwitchedAckEvent | MODE-SWITCHED-ACK-EVENT
- OperationInvokedEvent | OPERATION-INVOKED-EVENT
- RunnableEntity | RUNNABLE-ENTITY
- SwcInternalBehavior | SWC-INTERNAL-BEHAVIOR (Partly implemented)
- events
- runnables
- SwcModeManagerErrorEvent | SWC-MODE-MANAGER-ERROR-EVENT
- SwcModeSwitchEvent | SWC-MODE-SWITCH-EVENT
- TimingEvent | TIMING-EVENT
- TransformerHardErrorEvent | TRANSFORMER-HARD-ERROR-EVENT
XML - Reference elements
- AbstractProvidedPortPrototypeRef
- AbstractRequiredPortPrototypeRef
- AsynchronousServerCallResultPointRef
- ExclusiveAreaNestingOrderRef
- ExclusiveAreaRef
- InternalTriggeringPointRef
- ModeSwitchPointRef
- RunnableEntityRef
- SwcImplementationRef
- SwcInternalBehaviorRef
- TriggerRef
- VariableAccessRef
Fixed
- Fixed parsing error on elements containing
ADMIN-DATA
Changed
- Reader class attempts to resume parsing at next element if an error occurs
- To stop parsing on first error, give the option
stop_on_error=True
to methodReader.read_file
- To stop parsing on first error, give the option
v0.5.3
Added
XML - Common structure elements
- DataFilter | DATA-FILTER
XML - System template elements
- E2EProfileCompatibilityProps | E-2-E-PROFILE-COMPATIBILITY-PROPS |
collectable
- EndToEndTransformationComSpecProps | END-TO-END-TRANSFORMATION-COM-SPEC-PROPS
XML - Software component elements
- ApplicationSoftwareComponentType | APPLICATION-SW-COMPONENT-TYPE |
collectable
- CompositionSwComponentType | COMPOSITION-SW-COMPONENT-TYPE |
collectable
- SwComponentPrototype | SW-COMPONENT-PROTOTYPE
- PortInCompositionTypeInstanceRef | Merge of P-PORT-IN-COMPOSITION-INSTANCE-REF, R-PORT-IN-COMPOSITION-INSTANCE-REF
- AssemblySwConnector | ASSEMBLY-SW-CONNECTOR
- DelegationSwConnector | DELEGATION-SW-CONNECTOR
- PassThroughSwConnector | PASS-THROUGH-SW-CONNECTOR
- ClientComSpec | CLIENT-COM-SPEC
- ModeSwitchedAckRequest | MODE-SWITCHED-ACK-REQUEST
- ModeSwitchReceiverComSpec | MODE-SWITCH-RECEIVER-COM-SPEC
- ModeSwitchSenderComSpec | MODE-SWITCH-SENDER-COM-SPEC
- NonqueuedReceiverComSpec | NONQUEUED-RECEIVER-COM-SPEC
- NonqueuedSenderComSpec | NONQUEUED-SENDER-COM-SPEC
- NvProvideComSpec | NV-PROVIDE-COM-SPEC
- NvRequireComSpec | NV-REQUIRE-COM-SPEC
- ParameterProvideComSpec | PARAMETER-PROVIDE-COM-SPEC
- ParameterRequireComSpec | PARAMETER-REQUIRE-COM-SPEC
- QueuedReceiverComSpec | QUEUED-RECEIVER-COM-SPEC
- QueuedSenderComSpec | QUEUED-SENDER-COM-SPEC
- ReceptionComSpecProps | RECEPTION-COM-SPEC-PROPS
- ServerComSpec | SERVER-COM-SPEC
- TransmissionAcknowledgementRequest | TRANSMISSION-ACKNOWLEDGEMENT-REQUEST
- TransmissionComSpecProps | TRANSMISSION-COM-SPEC-PROPS
- ProvidePortPrototype | P-PORT-PROTOTYPE
- RequirePortPrototype | R-PORT-PROTOTYPE
- PRPortPrototype | PR-PORT-PROTOTYPE
XML - SWC internal behavior elements
- ArVariableInImplementationDataInstanceRef | AR-VARIABLE-IN-IMPLEMENTATION-DATA-INSTANCE-REF
- AutosarVariableRef | AUTOSAR-VARIABLE-REF
- VariableAccess | VARIABLE-ACCESS
- VariableInAtomicSWCTypeInstanceRef | VARIABLE-IN-ATOMIC-SWC-TYPE-INSTANCE-REF
XML - Reference elements
- ApplicationCompositeElementDataPrototypeRef
- AutosarDataPrototypeRef
- ClientServerOperationRef
- E2EProfileCompatibilityPropsRef
- ModeDeclarationGroupPrototypeRef
- ParameterDataPrototypeRef
- PortPrototypeRef
- SwComponentTypeRef
- SwComponentPrototypeRef
Workspace class
New methods:
- create_package_map
- add_element
- find_element
- get_package
- create_document_mapping
Changed
- The method
Workspace.make_packages
should not be called directly anymore. UseWorkspace.create_package_map
instead.
v0.4.2
v0.5.2
Added
Workspace
- Various improvements to template classes
- Support project config files
XML - Data type elements
- ArgumentDataPrototype | ARGUMENT-DATA-PROTOTYPE
- ParameterDataPrototype | PARAMETER-DATA-PROTOTYPE
- VariableDataPrototype | VARIABLE-DATA-PROTOTYPE
Mode declaration elements
- ModeDeclarationGroup | MODE-DECLARATION-GROUP |
collectable
- ModeDeclaration | MODE-DECLARATION
- ModeDeclarationGroupPrototype | MODE-DECLARATION-GROUP-PROTOTYPE
- ModeErrorBehavior | MODE-ERROR-BEHAVIOR
- ModeTransition | MODE-TRANSITION
XML Port interface elements
- ClientServerInterface | CLIENT-SERVER-INTERFACE |
collectable
- ModeSwitchInterface | MODE-SWITCH-INTERFACE |
collectable
- NvDataInterface | NV-DATA-INTERFACE |
collectable
- ParameterInterface | PARAMETER-INTERFACE |
collectable
- SenderReceiverInterface | SENDER-RECEIVER-INTERFACE |
collectable
- ApplicationError | APPLICATION-ERROR
- ClientServerOperation | CLIENT-SERVER-OPERATION
- InvalidationPolicy | INVALIDATION-POLICY
XML - Reference elements
- ApplicationErrorRef
- ModeDeclarationGroupRef
- ModeDeclarationRef
- VariableDataPrototypeRef
v0.5.1
Added
- Value checker for positive integers
XML - Data type elements
- ValueList | VALUE-LIST
XML - Calibration elements
- SwValueCont | SW-VALUE-CONT
- SwAxisCont | SW-AXIS-CONT
- SwValues | SW-VALUES
- ValueGroup | VALUE-GROUP
XML - Constant and Value specification elements
- ConstantSpecification | CONSTANT-SPECIFICATION |
collectable
- ApplicationValueSpecification | APPLICATION-VALUE-SPECIFICATION
- ArrayValueSpecification | ARRAY-VALUE-SPECIFICATION
- ConstantReference | CONSTANT-REFERENCE
- NotAvailableValueSpecification | NOT-AVAILABLE-VALUE-SPECIFICATION
- NumericalValueSpecification | NUMERICAL-VALUE-SPECIFICATION
- RecordValueSpecification | RECORD-VALUE-SPECIFICATION
- TextValueSpecification | TEXT-VALUE-SPECIFICATION
XML - Reference elements
- ConstantRef
v0.5.0
Main changes
- New class hierachy
- Snake-case naming of variables and methods (Follow PEP8)
- Modern type hinting
- Python Enum classes for enumeration types
- Improved XML reading and writing with lxml
- Linting support (Pylint and flake8)
- New unit test suite
- New RTE generator
Notes
Only supports XML data type elements. More will be added later.
v0.4.1
v0.4.0
v0.3.11
Fixes and Improvements
- Fix: Parsing of sub-packages in AUTOSAR 3 XML not working correctly.
- Fix: Adding DataTypeMap to DataTypeMappingSet not working.
- Fix: Issues reported by Pylint.
- Improvement: Classes derived from ComponentType now supports AdminData.
- Improvement: Moved SoftwareAddressMethod class from portinterface to elements package.
- Improvement: The element parameter is now optional in method Package.createApplicationRecordDataType.
Documentation Updates
- Common documentation
- Getting Started (updated)
- Basic Concepts (new)
- Updated AUTOSAR 4 API documentation
- autosar (new)
- base.SwDataDefPropsConditional (new)
- base.SwPointerTargetProps (new)
- base.SwPointerTargetProps (new)
- base.SymbolProps (new)
- datatype.ApplicationArrayDataType (new)
- datatype.ApplicationArrayElement (new)
- datatype.ApplicationDataType (updated)
- datatype.ApplicationPrimitiveDataType (new)
- datatype.ApplicationRecordDataType (new)
- datatype.ApplicationRecordElement (new)
- datatype.CompuMethod (new)
- datatype.CompuScaleElement (new)
- datatype.Computation (new)
- datatype.DataConstraint (new)
- datatype.DataTypeMap (updated)
- datatype.DataTypeMappingSet (updated)
- datatype.ImplementationDataType (updated)
- datatype.ImplementationDataTypeElement (new)
- datatype.ModeRequestTypeMap (updated)
- datatype.SwBaseType (updated)
- datatype.Unit (new)
- element.DataElement (updated)
- element.Element (updated)
- element.SoftwareAddressMethod (new)
- datatype.ApplicationArrayDataType (new)
- package (updated)
- workspace (updated)
- AUTOSAR 4 Developer Guides
- Package Roles (new)
v0.3.10
- Fixes highlighted by pylint
- Fixed AUTOSAR3-related issue with constants created from array of record data type.
- Improvements to mode-related classes
- ModeDeclarationGroup now supports explicit values in ARXML when defined using tuples.
- Support for mode request type mapping
- Application data type mapping was already supported but not documented.
- New/Improved documentation (AUTOSAR4 API)
- ApplicationDataType
- DataTypeMap
- DataTypeMappingSet
- ModeDeclaration
- ModeDeclarationGroup
- ModeGroup
- ModeRequestTypeMap