Tool/software: Linux
Hi TI
Goal: On Linux, write a python/C++ program to capture and display the azimuth heat map from mmWave Demo Visualizer
Current process:
1. Send config from demo visualizer to module, including sensorStart.
(So I can see the heat map is on. The config is attached for your reference)
2. cat /dev/ttyACM1 > Data.log for several seconds
3. Look at mmwave.js to find some ideas about parsing the raw data from cat.
Questions:
1. the raw data from cat is not starting from the beginning, since I'm catting after I'm sure the heat map is generated
on the webpage. So I'm thinking about how to slice the data into bytevec. I saw in the mmwave.js the magic word
is 21436587 so if I try to parse to raw data with the magic word, it will be sliced into the bytevec used in the javascript file?
2. Is the start_record button in the webpage logging the bytevec? I can see the saveStreamData(data); on line:143
of mmwave.js yet the data is the same as bytevec that later used in process1 function?
(the process1 function is where the bytevec being processed for drawing plots, just a reminder)
Just wanna know if there's a way that we can store the bytevec data for later processing or like I want to get the
point cloud of azimuth heat map and display somewhere or do some analysis.
3. Can you explain a bit about the algorithm of the function processAzimuthHeatMap in mmwave.js?
It's a bit confusing since the variable names are not very clear.
4. Or is there another demo that I can look into if I want to get the azimuth heat map?
Thanks!
WCC
Config:
/cfs-file/__key/communityserver-discussions-components-files/1023/2642.profile.cfg