akrocansim is a CAN bus J1939 controller simulator
Project description
akrocansim
A CAN bus J1939 controller simulator.
Built with
Features
- Integrates with all hardware CAN interfaces supported by python-can.
- Transmits configured J1939 PGNs to the CAN bus with the following methods:
- continuous tx of all PGNs
- all PGNs transmitted once on button press
- per PGN transmission, either continuous or on button press
- GUI for setting SPN values:
- sliders for changing continuous values
- label selection for discrete values
- direct entry of raw decimal values
- direct entry of decoded decimal values
Installation
Python 3.11 (64-bit) or higher is required.
pip install akrocansim
Prerequisites
- A hardware CAN interface supported by python-can, see https://python-can.readthedocs.io/en/v4.3.1/interfaces.html.
- A version of J1939 Digital Annex (J1939DA) from SAE International, see https://www.sae.org/standards/?search=j1939DA.
- A way to convert
.xls
to.xlsx
if your copy of the J1939DA is in.xls
format.
Usage
python -m akrocansim
Upon initial run, a folder named akrocansim
is created in your home folder hosting a starting configuration file.
Follow the instructions on the application and in the configuration file for next steps.
Upon successful parsing of the J1939DA, a series of json files are created in the J1939
sub-folder inside the main configuration folder.
These can be inspected to evaluate parsing correctness.
The J1939DA PGN and SPN definition format is very irregular and parsing errors still exist. You can raise a GitHub issue or a pull request if you think that an SPN has not been parsed correctly.
Issues
Discussions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file akrocansim-0.6.1.tar.gz
.
File metadata
- Download URL: akrocansim-0.6.1.tar.gz
- Upload date:
- Size: 171.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1aa127abe4a22b4c4d0414ee955489e4a4a929c314179189e0727b39d20bb1a7 |
|
MD5 | b29f94a0667ad26e1d9a69c02617d608 |
|
BLAKE2b-256 | 27caef78109633bfefe592a9a7291c9d095ee9861bf3eaf33fd631d6f6d1769e |
File details
Details for the file akrocansim-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: akrocansim-0.6.1-py3-none-any.whl
- Upload date:
- Size: 85.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e728162fb61538ee53e4ca380509a1329fc3049642780f136ec2365cb5f0f0e0 |
|
MD5 | b6ed5b7f1058121080993714b3dc531e |
|
BLAKE2b-256 | c75f3cea62831ef5cca9980c3c3292906314d692c6d2211a1e1541271ffd863a |