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: Where is the Data from Running the Traffic Monitoring Lab0013

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

Hello TI E2E,

Using an IWR1642BOOST EVM ES2.0 and MMWAVE-SDK 02_00_00_04

Running Windows 10 and Microsoft Office, Specifically Access.

A demo was built following TI Resource Explorer > Software > mmWave Sensors > Industrial Toolbox - v:2.5.1 > Labs > Traffic Monitoring > User Guide

When the Visualizer is Launched, the COM Ports are specified, the .cfg file is specified, the tables become populated and then the demo is run.

This has only been done Indoors, so only a near field Doppler Output has been observed by waving a metallic "Target" thus far on the gui, not sure how it will display actual traffic yet.

The problem is that while the demo does produce a “Microsoft Access Table Shortcut” which is set to open with the .mat extension in Access:

C:\ti\mmwave_industrial_toolbox_2_5_1\labs\lab0013_traffic_monitoring_16xx\gui\fHistRT_0001

But cannot find the actual Data.

Repeated attempts to run the demo produce additional “shortcuts” fHistRT_0001, fHistRT_0002, fHistRT_0003, etc.

Their size is shown by the File Explorer as up to 400 KB depending upon the duration that each was run.

Tried searching C:\*.mat for the data file but none found, only shows the shortcut.

Also Tried searching C:\fhistrt for the data file but none found, only shows the shortcut.

Access will not display the data and does not recognize the shortcut.

Under .../gui, only sample_fhist is shown and no further data..

How can this be corrected?

Is there another way to extract Traffic Target, Range, Velocity (and maybe the acceleration), preferably in an ascii format so that the data can be further processed?

Thank you for your attention to this matter,

Dan Arnold

  • Former Member
    0 Former Member
    Hello Dan,

    The .mat files are the saved data files. In this case, .mat is a Matlab data file type. The data can be imported using Matlab. In the case that you do not have access to Matlab there is tm_play.exe tool that lets you reload the .mat data and apply different post processing tracking parameters.

    Please see this tool in the GUI folder and the users guide for the tool:

    dev.ti.com/.../Gtrack Tuning for Traffic Monitoring.html

    Amanda
  • Hello Amanda,

    Yes, the Gtrack Tuning for Traffic Monitoring using tm_play.exe produces repeatable graphic results after running the lab0013_traffic_monitoring_16xx\ gui demo using tm_demo.exe

    However, the results sought is still to extract Traffic Target, Range, Velocity, Size (and maybe the acceleration) of several Targets, preferably in an ascii (or binary) format so that the data can be further processed.

    Can this data be continually streamed rather than or in addition to the visual display?

    Reading ascii or binary data would be the most direct way of achieving the required demo.

    Must access to Matlab be made available to do this or is there a way to extract this data without Matlab?

    Thank you for your attention to this matter,

    Dan Arnold

  • Former Member
    0 Former Member in reply to Dan Arnold

    Hello Dan,

    Without Matlab, you could instead using your platform of choice, you could capture the UART stream to a file in real time and parse the output. The target TLV will have the position coordinates, the accleration, and the velocity. Size is not computed.

    Please refer to the data format information here (it's the data format for the people counting demo but this is the same as traffic monitoring):

    Amanda 

  • Thank you for this information Amanda,
    Since Parsing the UART Data is probably a frequent requirement, is there a program specifically written to parse the Data from the Traffic Monitoring Frame Data Stream?
    Dan
  • Former Member
    0 Former Member in reply to Dan Arnold
    Hello Dan,

    Yes this is done in the Matlab based visualizer provided with the lab. If you do not have Matlab then you can port to the language of your choice. Please refer to lines 335-465 in tm_demo.m

    Amanda
  • Thank you Amanda,

    Still working on achieving the end goal of porting frame data using the tm_demo to the required back end program without matlab.

    Just wanted to let you know that your reply was helpful.

    Best Wishes,

    Dan