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.

IWR1443BOOST: Modifying mmwave demo visualizer

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: IWR1642BOOST, IWR1443, MMWAVE-SDK

Good day,

I am using IWR1443BOOST/IWR1642BOOST and trying to modify the mmwave demo visualizer application by adding some more plots and functions (eg. GMTI, spectrogram using short-time FFT) using GUI composer. Any help for modifying the mmwave.js script and plotting the data?

Regards,

Sheeraz  

  • Hello Sheeraz,

    Instructions for creating plots/visualizations using GUI Composer are found at the following link (also accessible by clicking on "GETTING STARTED" from the main GUI Composer page. There are also a set of tutorials available there.
    dev.ti.com/.../index.html

    You can look at the process1 function in mmWave.js as described in the following thread to see how the existing plots are generated.
    e2e.ti.com/.../2257155

    Please mark the thread as answered if your question is resolved or reply if you need more information.

    Regards,
    John
  • Hi John,
    I checked the function you mentioned and I also looked at the GUI composer tutorials for reference. However, I am novice to the javascript and I would like to follow maybe an example which is specifically done in modification of the demo visualizer in the past. For example, I would like to add spectrogram plot in the GUI, how can I check in the existing code lines to get the required parameters (Doppler, time) for plotting ?. Thank you and how does it impact the source .c files to be modified accordingly ?

    Regards,
    Sheeraz
  • Hello Sheeraz,

    There are no examples online of modifying the mmWave Demo Visualizer by adding new plots. If the data you need is already used in an existing plot then you could use the function that processes it in mmWave.js as an example (i.e. like processRangeDopplerHeatMap function). Otherwise, you could use that function as an example when creating a new function to process your new output data.

    If you need to add new types of output data to the demo you would need to download the MMWAVE-SDK, modify the demo source code (which comes in the SDK), and rebuild the demo. You can also find instructions for building the IWR1443 out-of-box demo using CCS at the following link.
    dev.ti.com/.../

    Regards,
    John
  • I will try to do that. Thanks.
  • Hi john,

    I was checking the mmwave.js for modification and I have a question regarding the demo itself. When we try to select more plots to show and press "Send config to mmwave device", it shows  "Warning: Heatmap plot is selected. Lower frame rate to be less than 5 fps." or ""Warning: Try reducing the number of plots or reducing the frame rate for better performance". Is it possible to show these messages before we press the button ?, since it is annoying when we send the config and the device sometimes go into locked mode (no response) and we need to reset it again.

    Furthermore, in which .js file,the widget binding associated with these buttons defined?

    Regards,

    Sheeraz

  • Hi Sheeraz,

    Thank you for your feedback regarding the mmWave Demo Visualizer.  I will pass it on to the software team.

    The binding for the buttons you showed is in the index.gui file.  If you search that file for the ID of the button (i.e. ti_widget_button_send_command) you will find a line that uses the onclick property to call a function in mmwave.js when the button is pressed.  For example, here is the line for the Send Config to mmWave Device button.

    <ti-widget-button id="ti_widget_button_send_command" label="Send Config to mmWave Device" button-type="default" raised visible bindable-trigger="34" class="_TI_" onclick="onSendCommand()" elevation="1" animated title></ti-widget-button>

    Regards,

    John

  • Thank you. I ll check it.

    Regards,
    Sheeraz