Main Content

Calibrate AUTOSAR Adaptive Application

Embedded Coder® Support Package for Linux® Applications enables you to calibrate AUTOSAR adaptive applications. You can use the Linux Runtime Manager application to build model, create & deploy application on target, and perform calibration & measurement for the application.

Steps to calibrate an AUTOSAR adaptive application.

  1. Open or create an AUTOSAR adaptive model.

  2. Create a Simulink.Parameter in base workspace and set the storage class to ExportedGlobal to make it a tunable parameter.

  3. Right-click the signal line that you want to calibrate and open the signal properties dialog. Set the signal as Test point to measure the signal.

  4. Set the Hardware Implementation > Hardware board in the model configuration parameters to

    • Embedded Coder Linux Docker Container for x86_64 targets.

    • Embedded Coder Linux Docker Container - ARM64 for ARM targets.

  5. Select AUTOSAR Code Generation > XCP Server Configuration, set the Transport layer to XCP On TCP/IP, specify the IP address of the target machine, and port number.

  6. Generate code for the model and verify that the application package is generated.

  7. Open the Linux Runtime Manager application by using the command.

    linuxRuntimeManager

  8. Connect to the Linux target machine by specifying the target configuration details.

  9. Select Create & Deploy Application Package and choose the application package generated from model to deploy the application package to target.

  10. Select the signals to instrument from the Signals tab after the application is deployed.

  11. Select Monitor & Tune to start calibrating the application.

  12. Change the value of the tunable parameter from the Parameters tab.

  13. Verify the change in parameter value from the Simulation Data Inspector.

See Also

Related Topics