This is a C++ driver for Continental ARS 408-21 (ARS404-21/SRR308) automotive radar. The code is tested on Raspberry Pi 4B and X86 Linux.
大陆 ARS 408-21 (ARS404-21/SRR308) 毫米波雷达的C++驱动
-
Make sure the CANBus hardware and its driver is successfully installed.
- on Raspberry Pi 4B, MCP2515 can be used (https://www.waveshare.net/wiki/2-CH_CAN_HAT)
- on x86 Linux, usb-CAN is used(https://www.zhcxgd.com/cn/ZLXZ.html), copy the
libcontrolcan.so
to/usr/local/lib
-
Make sure the mmWaveRadar is powered, and CANBus channels (CAN-H, CAN-L) are connected to each other.
-
clone this repo.
git clone https://github.com/YoungCapta1n/mmWaveRadar.git
-
Create
build
directory and change directorycd mmWaveRadar mkdir build cd build
-
Compile examples
cmake .. make
Please report any issues via the Github issue tracker. All types of issues are welcome including bug reports, documentation typos, feature requests and so on.