To help Linux developers speed up development, Intrepid Control Systems announced an open source API called libicsneo earlier this year. It can be used with python_ics to integrate Intrepid vehicle networking hardware to any Python application running Linux, Mac or Windows. In this tutorial you will learn how to Transmit and Receive high speed CAN or CAN FD messages using Raspberry Pi with any Intrepid tools such as ValueCAN 4series. Please reference the API for list of supported hardware. We will be using ValueCAN 4–2 two channel of CAN or CAN FD.
Hardware Setup
Connect ValueCAN 4–2 using DB-9F to OBD-II cable to neoOBD2 Simulator (optional) to receive or transmit CAN messages instead of a car.
Before you get started make sure you have the following dependencies
- CMake 3.2 or above
- GCC 4.7 or above, 4.8+ recommended
- libusb-1.0–0-dev
- build-essential is recommended
Build libicsneo project and link libicsneoleagacy.so file to your Python project.
Open Terminal
Clone libicsneo git repository
git clone “https://github.com/intrepidcs/libicsneo.git”