pyA2L
pyA2L is an ASAM MCD-2MC processing library written in Python.
ASAM MCD-2MC, also known as ASAP2, is a non-XML file format for defining calibration parameters, measureable variables, and communication interface specific parameters, widely used in automotive applications.
ASAP2 is typically used together with CCP (CAN Calibration Protocol) or XCP (Universal Calibration Protocol).
Supported Versions: 1.6
Installation
-
Via
pip
(Currently only Windows and MacOS):$ pip install pya2ldb
IMPORTANT: Package-name is
pya2ldb
NOTpya2l
!!! -
From Github:
- Clone / fork / download pyA2Ldb repository.
- Make sure you have a working Java installation on your system, like AdoptOpenJDK or OpenJDK.
- Download and install
ANTLR 4.9.3
:curl -O -C - -L https://www.antlr.org/download/antlr-4.11.1-complete.jar
- Add
ANTLR
to yourCLASSPATH
environment variable, e.g.:export CLASSPATH=$CLASSPATH:~/jars/antlr-4.9.3-complete.jar
(you may put this in your.bashrc
,.zshrc
, ...).
- Run setup-script:
python setup.py develop