Skip to content
项目

关于

Adaptive Runtime AUTOSAR Linux 模拟器

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Adaptive-AUTOSAR

example workflow

Adaptive AUTOSAR is a simulated Adaptive Platform environment over Linux defined by AUTOSAR. The goal of this project is to implement the interfaces defined by the standard for educational purposes. For more information, please refer to the project Wiki.

Simulation flow diagram

Dependecies

It will be tried to use minimum number of dependencies as much as possible. The current dependencies are as follows:

Build

Compiler debug configuration

  • GCC:
cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/x86_64-linux-gnu-gcc-11 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/x86_64-linux-gnu-g++-11 -S . -B build
  • Clang:
cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-14 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-14 -S . -B build

Compiling

cmake --build build

Unit tests running

cd build && ctest

Run

To run the Adaptive AUTOSAR simulation, launch the following executable by passing the execution manifest file path as the argument:

./build/adaptive_autosar ./configuration/execution_manifest.arxml ./configuration/extended_vehicle_manifest.arxml ./configuration/diagnostic_manager_manifest.arxml ./configuration/health_monitoring_manifest.arxml

Then the executable will ask for:

  1. First, the VCC API key;
  2. And then the test access OAuth 2.0 token;

in order to connect to the Volvo Extended Vehicle RESTful API. To create the API key and the access token, you can follow this tutorial.

⚠️ Due to security reasons, the terminal echo is temporarily disabled while typing the key and the token.

Documentation

Please refer to the project GitHub pages powered by Doxygen.

Contribution

Please refer to the contributing page.

探索相关项目

加载中…