openradarinitiative / openradar_mmwave_utils

GNU General Public License v3.0
22 stars 9 forks source link

Open Radar mmwave utils

Repository for TI MMWave utils and simple processing.
This repository contains:

Setup and get started

Perform the following steps to get started:

Install dependencies:

Install the dependencies as described in installation instructions.

Connect the radar

Fix the user priviliges:

sudo touch /etc/udev/rules.d/99-libftdi.rules 
sudo gedit /etc/udev/rules.d/99-libftdi.rules 

Add the following line:

SUBSYSTEM=="usb", ATTR{idVendor}=="0451", ATTR{idProduct}=="fd03", GROUP="usb", MODE="0664"

Then create the group and add your user:

sudo useradd -G usb $USER$
sudo usermod -a -G usb $USER$

Build and run the code

There are two utils that need to be built:

Build and run the MMWavelink code

To build and setup the code, follow the common CMAKE-way of doing it:

cd setup_radar  
mkdir build
cd build
cmake ..
make -j4

And then, run the following to setup the radar:

sudo ./setup_radar

This takes a bit of time, but the output should end with:

=========== mmWaveLink Example Application execution Successful ===========

A full printout of the output is here

Build and run the DCA1000 utils

To build and setup the code, follow the common CMAKE-way of doing it:

cd setup_dca_1000  
mkdir build
cd build
cmake ..
make -j4

And then, run the following to setup the DCA1000 to stream:

./setup_dca_1000

The output should be:

RDFCard Configure RDFCard_FPGA sendt!
Sendt message

FPGA Configuration command : Success
Handshake sendt!
Sendt message
Start Record Data sendt
Sendt message

And the DCA1000 should start blinking - which is a great sign!