This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR1642BOOST: How to use range-chirp matrix to generate heat map

Part Number: IWR1642BOOST


Hi,

We are trying to generate heat map using python using range-azimuth heat map data o/p from SDK2.0.0.4 Out of box demo.

Need help to know how to  extract range, angle arrays from "(Range FFT size) x (Number of virtual antennas) ", so that to map bins to respective range/angle??

 

SDK 2.0.0.4 Doxygen document

Azimuth static heatmap

Type: (MMWDEMO_OUTPUT_MSG_AZIMUT_STATIC_HEAT_MAP)

Length: (Range FFT size) x (Number of virtual antennas) (size of cmplx16ImRe_t_)

Value: Array MmwDemo_DSS_DataPathObj::azimuthStaticHeatMap. The antenna data are complex symbols, with imaginary first and real second in the following order:

         Imag(ant 0, range 0), Real(ant 0, range 0),...,Imag(ant N-1, range 0),Real(ant N-1, range 0)
         ...
         Imag(ant 0, range R-1), Real(ant 0, range R-1),...,Imag(ant N-1, range R-1),Real(ant N-1, range R-1)

Based on this data the static azimuth heat map is constructed by the GUI running on the host.

 

 

Regards,

Vikas

  • Former Member
    0 Former Member

    Hello Vikas,

    You can view the source code for the mmWave Demo Visualizer by going to the gallery and clicking Import to Gui Composer (circled below)

    Once you have imported the project, view the source code by clicking the folder icon in the top left. Then open mmwave.js and navigate to line 2775. Here you'll find the function: processAzimuthHeatMap = function(bytevec, byteVecIdx, Params). Using the source code for reference should enable porting to python or you language of choice.

    Amanda

  • Hello Amanda,

    Thanks for quick reply. Solution was helpful.

    We are looking for c/c++  based processing of initial matrix "chirp vs range bins" so that  the transformed matrix "rangebins vs angle bins" can be easily be mapped into heat map.

    Any example code available will be helpful.  

    Also, there is no explanation  available for steps done in the heat map visualization. It will be helpful if any documentation available.

    Regards,

    Vikas

  • Former Member
    0 Former Member in reply to Vikas Dubey
    Hello Vikas,

    If I understand correctly, you want to be able to reconstruct the range-azimuth heatmap in a python based visualizer?
    If you are using the mmwave Demo (out of box demo) the range-azimuth heatmap can be enabled in the guiMonitor configuration line (refer to the mmwave SDK user guide for details if needed). This will then enable the demo to ship the range-azimuth heatmap data via UART

    Your application will then need to parse the UART to replot the heatmap as done in the Java based visualizer example above. There is not an example in c/c++ of this processing step.

    Amanda