Other Parts Discussed in Thread: IWR6843
Hello,
We are trying to understand data we recorded while running Overhead Mount Vehicle Occupancy Detection using IWR6843. We were able to get fHist_XXX.mat files, but we need help understanding the structure of the point cloud data and how to convert range, azimuth, and elevation to meters.
Q1. What is the correct structure of the pointCloud data? The User Guide states that there are 5 columns, as pasted below. However, I do not think this is correct because I read somewhere in this QA forum that doppler should always be 0 but the numbers in the 4th column are zero (if the data is structured as follows, zeros should be in the 3rd column).
pointStruct = struct(...
'elevation', {'int8_t', 1}, ... % Elevation in radians
'azimuth', {'int8_t', 1}, ... % Azimuth, in radians
'doppler', {'int16_t', 2}, ... % Doppler, in m/s
'range', {'uint16_t', 2}, ... % Range, in meters
'snr', {'uint16_t', 2}); % SNR, ratio
I have mixed&matched numbers and think that the correct structure is as follows. Can someone verify?
pointStruct = struct(...
'elevation', {'int8_t', 1}, ... % Elevation in radians
'range', {'uint16_t', 2}, ... % Range, in meters
'azimuth', {'int8_t', 1}, ... % Azimuth, in radians
'doppler', {'int16_t', 2}, ... % Doppler, in m/s
'snr', {'uint16_t', 2}); % SNR, ratio
Q2. Also, are the units for elevation and range really in radians? I have compared the results on GUI and the data in mat file, and to me, it seems like elevation and range are in meters.
---Data from Overhead Mount Vehicle Occupancy Decection.zip
I am attaching the original mat file, a csv file of pointCloud data at frame 144 that I have converted from the mat file (a random frame for comparison), and a screenshot of GUI at frame 144 as well. If anyone can help me, that would be very helpful.
Thank you.