CANdevStudio
Development tool for CAN bus simulation
|
Most of automotive projects need to have an access to the Controller Area Network (CAN) bus. There are plenty of commercial frameworks that provides CAN stacks and hardware/software tools necessary to develop proper CAN networks. They are very comprehensive and thus expensive. CANdevStudio aims to be cost-effective replacement for CAN simulation software. It can work with variety of CAN hardware interfaces (e.g. Microchip, Vector, PEAK-Systems) or even without it (vcan and cannelloni) . CANdevStudio enables to simulate CAN signals such as ignition status, doors status or reverse gear by every automotive developer. Thanks to modularity it is easy to implement new, custom features.
Checkout CANdevStudio on YouTube
Access to CAN bus is based on Qt framework. Current list of supported CAN interfaces can be found here.
Current list of devices compatible with SocketCAN (Linux only) can be found here.
CANdevStudio project uses GitHub Actions as continuous integration environment. You can check build.yml for details.
To lower maintenance effort and allow for usage of modern C++ features, since v1.2.0 CANdevStudio dropped "official" support for legacy compilers like gcc5.3, vs2015 or MinGW. Current CI configuration uses the latest compilers available for each GitHub Actions environment:
If CMake failed to find Qt in your system:
Each GitHub Actions job stores prebuilt packages for 90 days. Additionally official releases are stored on GitHub Releases page.
CANdevStudio-X.Y.ZZZZZZZ-SYS[-standalone]
X - major version number of previous stable version
Y - minor version of previous stable version
Z - SHA commit ID
SYS - either win64, Linux or Darwin
standalone - bundle version that contains Qt libraries and all relevant plugins.
All packages are being built on ubuntu-latest environment. Refer to this page to determine the exact Ubuntu version. You may experience problems with missing or incompatible libraries when trying to run the package on other distros.
To run standalone version use CANdevStudio.sh script.
Install AUR package: candevstudio-git
Packages built with Visual Studio 2019.
Standalone version contains Qt. Installation of VS2019 redist packages may be still required.
Package is a DMG installer.
General instructions to start your first simulation:
Steps required to use specific CAN hardware or virtual interfaces require some additional steps listed in following sections.
The list below shows hardware that has been successfully used with CANdevStudio.