Qt Widgets Dashboard to visualize some radar information of the 24GHz Infineon Position2Go Radar.
This includes:
- Raw data: I and Q component of both antennas
- Range data: FFT spectrum of both antennas
- Polar plot: Visualizes the targets with range and angle
Persistance1D
: Extracting and filtering minima and maxima of 1D functionsdj_fft
: FFT processingComLib_C_Interface
: API for the radar sensor (Included in the Toolbox)sigwatch
: Unix signal watcher for Qt
CMake 3.5
Qt 5.15.1
Qt5Widgets
Qt5SerialPort
Qt5Charts
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install cmake qt5-default libqt5serialport5 libqt5serialport5 libqt5serialport5-dev libqt5charts5 libqt5charts5-dev
Clone the repository:
git clone https://github.com/norbus161/P2G-Dashboard.git
Navigate to the directory and create build
directory:
cd P2G-Dashboard && mkdir build
Compile the release version for the application:
cd build && cmake -DCMAKE_BUILD_TYPE=Release ..
make
Linux: Set up the permissions for accessing the serial port:
cd .. && sudo cp ./driver/udev/90-p2g-linux.rules /etc/udev/rules.d
sudo udevadm control --reload
sudo reboot -h now
Config.json
lists some parameters, which can be adjusted. It has to placed in the same director as the executable itself. The DspSettings
will only have an impact to the radar polar plot:
{
"StatusbarEnabled": false,
"ToolbarEnabled": false,
"DspSettings":{
"RangeMovingAverageFilterLength": 5,
"MinRange": 20,
"MaxRange": 1000,
"MinSpeed": 0,
"MaxSpeed": 4,
"SpeedThreshold": 0,
"RangeThreshold": 100,
"Tracking": false,
"NumberOfTracks": 5,
"MedianFilterDepth": 5,
"MTIFilterSelection": false,
"MTIFilterWeight": 100
}
}
Execute the application:
./P2G-Dashboard
- Rangeplot: show maxima labels only for the antenna (1 OR 2) with global maxima
- Put Range calculation into signal processor class
- Radarthread: automatic reconnect
- Save option for dynamic dsp configuration
- Refactor code