AUTOSAR Blocket SOME/IP Binding
30 次查看(过去 30 天)
显示 更早的评论
I created a simple model including the Event send and Event receiver Blocks from the AUTOSAR Blockset. Configure AUTOSAR Adaptive Software was performed through the Code Mappings editor and AUTOSAR Dictionary and code was generated using AUTOSAR Coder. (I will add a photo of the modeling. It is currently a simple model for communication and the LKAS algorithm will be added in the future)
My Matlab versiond is R2023b, and schema version is R19-03 (I also tried R20 and 21 versions). However, when the code is generated, there is a problem that ARXML is bound to DDS rather than SOME/IP. I understand that when generating code in Matlab, ARXML is read and CPP code is generated. However, ARXML does not include SOME/IP content and all interfaces are defined as DDS. Among the generated codes, files in the stub/aragen folder also have an interface defined using the eprosima_dds library.
So, is it not possible to develop SOME/IP ASW in Matlab? Or, I would like to ask if there is a configuration I set incorrectly.
4 个评论
Pratheek
2024-3-21
Starting in R2024a, the generated code for AUTOSAR Adaptive models supports SOME/IP binding for ara::com communication between adaptive applications. This feature is supported with the AUTOSAR Adaptive Linux Executable toolchain. The generated ServiceInstanceManifest.arxml file contains SOME/IP artifacts. For more information, see Additional XML Options.
Thanks
回答(1 个)
SACHIN KHANDELWAL
2024-4-15
When the model is set up for SOME/IP network binding, a configuration file named VSOMEIPConfig.json is created during the code generation process.This file will be used by the executable when launched using Linux Runtime Manager.
Here’s a breakdown of the information contained in this file:
- "unicast" - This is the IP address of the device where the executable is running.
- "service" and "instance": Both of these fields are filled with the Instance ID, a unique identifier that is specified in the AUTOSAR dictionary.
- "unreliable" - This refers to the UDP port used by the service.
- "name" - Name of the application which is populated with the name of the executable.
- "id" - Unique ID of the application which is populated with the Application ID.
I hope this information helps answer your query.
Thanks.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!