• Stars
    star
    134
  • Rank 270,967 (Top 6 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 9 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ASAM ASAP2 Library for Python

pyA2L

Code Climate Coverage Status Build Status Build status Code style: black GPL License

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 NOT pya2l!!!

  • 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 your CLASSPATH 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

Getting Started


pyA2L is part of pySART (Simplified AUTOSAR-Toolkit for Python).