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.

AWR1843BOOST: Medium Range Radar Data from USB

Part Number: AWR1843BOOST

Hi forum,

I followed the user guide to run the project.

Now I want to make sense of this data with c#.

I read the User's Guide

I know the data structure is like this but I don't know what the Frame Header is in the data I received as above.

This is the data I receive.

  • Hi,

    I had answered a similar question recently:

    This includes details of the output data format and contains a sample parsed file to act as an example.

    Regards,

    Aayush

  • Hi Aayush,

    Thanks for answer

    This information has helped me a lot, but I still have questions.

    How did you get the data with json format?

    Regards,

    Hasan

  • Hi Hasan,

    I used an internal Python script currently under development that may or may not be officially released in the future. I am attaching it with this thread.

    It uses the pyserial module as a dependency. Run the MRR lab (without connecting the GUI) first, then use the following command:

    python mrr.py --data_port=COM7 --duration=5 --indent_json

    This will capture for approximately 5 seconds on COM7 com port. I would also recommend removing the --indent_json option if you are capturing the data for longer durations.

    You can also reverse this order: running the python script first and then the demo to ensure capture happens right from frame 1.

    Please note that since this isn't a release and is an experimental script under development, it isn't well written or well tested, and our team will not be able to support this.

    Regards,

    Aayush

    tlv_to_json_mrr.zip

  • Hi Aayush,

    Thanks for quickly answer. This is so helpful to me.

    Do you have tlv2csv python script or any language script. Or am i can configure this tlv2json for tlv2csv?

    It doesn't matter if it's still in development.

    Its so important for our R&D project.

    Regards,

    Hasan

  • Hi Hasan,

    The script I provided only converts to JSON.

    I wanted to parse and keep the entirety of exported data. Since the exported data has a few levels of nesting, a hierarchical format like JSON was the best format for the job. It would be pretty difficult to represent nested data like this in a tabular CSV format in its entirety.

    If you want to extract specific details from the output, I would suggest parsing this json file and extracting information relevant to you in CSV format. This should be easier than modifying the script that parses the entire binary data. Most high level languages make it pretty easy to read json files.

    Regards,

    Aayush

  • Hi Aayush,

    Not all packages and information are required. The only thing I need is "Detected Object List".

    That's all my questions for now.

    Thanks and Regards,

    Hasan

  • Hi Hasan,

    That would be in the TLV type 1 in the json file for each message with detected points. Since getting this specific information is out of the scope of the TLV parser tool, you would have to write the necessary script for this.

    Glad I could be of help, let me know if you have any other questions with this!

    Regards,

    Aayush

  • Hi Aayush,

    I scanned all the documents and codes but could not find them what is the unit of these parameters (x, y, z, speed) ?

  • Hi Hasan,

    You are right, this isn't documented well. I would suggest going through the Matlab GUI source code to see how this conversion is done.

    Regards,

    Aayush

  • Hi,

    No, I'm not asking for conversion, I'm asking for units (which is mm, cm, m and kmh, ms)?

    Is there an answer to this question in the codes?

    Regards

    Hasan

  • Hi Hasan,

    I understand what you mean. The data received from the radar is probably the rangebin index of the detected point. This data is probably not in m/s or cm/s. To know exactly how this number corresponds to the range displayed in the GUI, you will have to trace through the source code of the GUI.

    Regards,

    Aayush