m6c7l / pymmw

Pythonic mmWave Toolbox for TI's IWR Radar Sensors
Other
278 stars 82 forks source link

6843AOPEVM no plots showing #14

Open janwillemCA opened 2 years ago

janwillemCA commented 2 years ago

Hi,

Currently using an 6843AOPEVM with firmware version: 03.05.00.04

When i start the program the CFAR Detection plot is showing up. but i dont see any plots when people moving around.

When i close the CFAR Detection window it says:

Done
mmwDemo:/>(i) x8_mmw _pipe_ [Errno 22] Invalid argument plot_detected_objects
obabarin commented 2 years ago

are you making a remote SSH connection? this may be the problem.

Ffalzter commented 2 years ago

Hi,

I have the same error message without having any plots showing. I am not making a remote SSH connection to my IWR6843AOPEVM.

sensorStart
Debug: Init Calibration Status = 0x1ffe
Done
mmwDemo:/>(i) x8_mmw _pipe_ [Errno 22] Invalid argument plot_detected_objects
janwillemCA commented 2 years ago

are you making a remote SSH connection? this may be the problem.

No I do not

Ffalzter commented 2 years ago

Hi,

Currently using an 6843AOPEVM with firmware version: 03.05.00.04

When i start the program the CFAR Detection plot is showing up. but i dont see any plots when people moving around.

When i close the CFAR Detection window it says:

Done
mmwDemo:/>(i) x8_mmw _pipe_ [Errno 22] Invalid argument plot_detected_objects

@janwillemCA change the value of "detectedObjects" of CLI-command "guiMonitor" in x8_mmw-xWR64xx.cfg file (\pymmw\source\mss) from 1 to 0.

Ffalzter commented 2 years ago

Hi,

I still do not see any plots even though data is arriving.

janwillemCA commented 2 years ago

Hi, Currently using an 6843AOPEVM with firmware version: 03.05.00.04 When i start the program the CFAR Detection plot is showing up. but i dont see any plots when people moving around. When i close the CFAR Detection window it says:

Done
mmwDemo:/>(i) x8_mmw _pipe_ [Errno 22] Invalid argument plot_detected_objects

@janwillemCA change the value of "detectedObjects" of CLI-command "guiMonitor" in x8_mmw-xWR64xx.cfg file (\pymmw\source\mss) from 1 to 0.

I will try that. Is it not working for you?

Ffalzter commented 2 years ago

Hi,

thank you for your fast response.

No I do not see any plots... I going trough the code but can not find the mistake at the moment..

Do you see any plots?

Best regards. Justin


Von: Jan Willem Casteleijn @.> Gesendet: Freitag, 7. Januar 2022 15:59 An: m6c7l/pymmw @.> Cc: Justin Retzlaff @.>; Comment @.> Betreff: Re: [m6c7l/pymmw] 6843AOPEVM no plots showing (Issue #14)

Hi, Currently using an 6843AOPEVM with firmware version: 03.05.00.04 When i start the program the CFAR Detection plot is showing up. but i dont see any plots when people moving around. When i close the CFAR Detection window it says:

Done mmwDemo:/>(i) x8_mmw pipe [Errno 22] Invalid argument plot_detected_objects

@janwillemCAhttps://github.com/janwillemCA change the value of "detectedObjects" of CLI-command "guiMonitor" in x8_mmw-xWR64xx.cfg file (\pymmw\source\mss) from 1 to 0.

I will try that. Is it not working for you?

— Reply to this email directly, view it on GitHubhttps://github.com/m6c7l/pymmw/issues/14#issuecomment-1007474268, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXAQXXP4PB4YQ43SRTRATVLUU35T7ANCNFSM5IWMP6HA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.***>

janwillemCA commented 2 years ago

Hi, thank you for your fast response. No I do not see any plots... I going trough the code but can not find the mistake at the moment.. Do you see any plots? Best regards. Justin

obabarin commented 2 years ago

may I suggest to reduce the frame rate? in some instances, the frame rate produces large data that do not fit into the limits of the UART max baudrate.

as also suggested by @janwillemCA, ensure that the setting in guiMonitor is correct for the type of data required.

Ffalzter commented 2 years ago

may I suggest to reduce the frame rate? in some instances, the frame rate produces large data that do not fit into the limits of the UART max baudrate.

as also suggested by @janwillemCA, ensure that the setting in guiMonitor is correct for the type of data required.

Hi, no the frame rate is not the problem. I checked the values in the log files.

HichriAyoub commented 2 years ago

Hello,

Anybody found an answer for this i am still facing this problem too

obabarin commented 2 years ago

Hello,

Anybody found an answer for this i am still facing this problem too

I will suggest reducing your framePeriod to 500ms as a first step noting that UART has limited capability to support large data size.

HichriAyoub commented 2 years ago

I changed it the message disappeared but still the CFAR detection doesn't show anything Do you think it's the config file ? if so how do i change it

obabarin commented 2 years ago

it's possible it is the config of your chirps and frame. could you post that here? from experience, this worked for me: profileCfg 0 60 100 6 50 0 0 80 0 256 6000 0 0 30 chirpCfg 0 0 0 0 0 0 0 1 chirpCfg 1 1 0 0 0 0 0 2 chirpCfg 2 2 0 0 0 0 0 4 frameCfg 0 2 16 0 500 1 0

but this doesn't profileCfg 0 60 100 6 50 0 0 80 0 256 6000 0 0 30 chirpCfg 0 0 0 0 0 0 0 1 chirpCfg 1 1 0 0 0 0 0 2 chirpCfg 2 2 0 0 0 0 0 4 frameCfg 0 2 32 0 500 1 0

because I doubled the numChirpsLoop from 16 to 32.

so, check your chirp and frame design very well. If it doesn't work with the mmWave Demo Visualizer on a PC, ti won't work on this software too.

HichriAyoub commented 2 years ago

Well seems like i have another problem because i used my config which works with the rospkg and outputs a point cloud and your config also works with rospkg but surprisingly in the CFAR with this python code it doesnt work and without any error problems i don't really know why

my configs were this : profileCfg 0 60 359 7 57.14 0 0 70 1 256 5209 0 0 158 chirpCfg 0 0 0 0 0 0 0 1 chirpCfg 1 1 0 0 0 0 0 2 chirpCfg 2 2 0 0 0 0 0 4 frameCfg 0 2 16 0 100 1 0

obabarin commented 2 years ago

I may not be able to help further, as I do not remember trying to use this software for generating point cloud data but rangeDoppler heat maps. And this that had some limitations for me too, I had to move on to another software.

If you can see data in your log files, may I suggest to make manual plots?

HichriAyoub commented 2 years ago

oh which software are you using because i am trying to retrieve the heatmaps especialy range-doppler heatmap for training an AI model but im not finding any good python script for parsing data from the radar

obabarin commented 2 years ago

try this- https://github.com/ibaiGorordo/AWR1843-Read-Data-Python-MMWAVE-SDK-3-

Ffalzter commented 2 years ago

Hello,

@obabarin do you also have a parser/script to get the Azimuth/Elevation Static Heatmap (TLV Type 8) ?

Best regards

obabarin commented 2 years ago

Hello,

@obabarin do you also have a parser/script to get the Azimuth/Elevation Static Heatmap (TLV Type 8) ?

Best regards

Unfortunately, I do not. I am using it for rangeDoppler data only, but given the resolutions I require, the transfer rate with UART is insufficient.

FrancisFigueira commented 1 year ago

Hello can anyone help me on how to start a range Doppler plot? I am not understanding the function start_plot parameters