pymmw icon indicating copy to clipboard operation
pymmw copied to clipboard

6843AOPEVM no plots showing

Open janwillemCA opened this issue 3 years ago • 21 comments

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 avatar Nov 24 '21 15:11 janwillemCA

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

obabarin avatar Dec 08 '21 12:12 obabarin

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

Ffalzter avatar Dec 28 '21 16:12 Ffalzter

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

No I do not

janwillemCA avatar Dec 31 '21 09:12 janwillemCA

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 avatar Jan 06 '22 19:01 Ffalzter

Hi,

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

Ffalzter avatar Jan 07 '22 11:01 Ffalzter

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?

janwillemCA avatar Jan 07 '22 14:01 janwillemCA

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: @.***>

Ffalzter avatar Jan 07 '22 15:01 Ffalzter

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

janwillemCA avatar Jan 11 '22 09:01 janwillemCA

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.

obabarin avatar Jan 14 '22 20:01 obabarin

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.

Ffalzter avatar Jan 15 '22 19:01 Ffalzter

Hello,

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

HichriAyoub avatar Mar 18 '22 15:03 HichriAyoub

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.

obabarin avatar Mar 18 '22 16:03 obabarin

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

HichriAyoub avatar Mar 18 '22 16:03 HichriAyoub

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.

obabarin avatar Mar 18 '22 16:03 obabarin

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

HichriAyoub avatar Mar 18 '22 16:03 HichriAyoub

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?

obabarin avatar Mar 18 '22 17:03 obabarin

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

HichriAyoub avatar Mar 18 '22 17:03 HichriAyoub

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

obabarin avatar Mar 18 '22 17:03 obabarin

Hello,

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

Best regards

Ffalzter avatar Mar 21 '22 12:03 Ffalzter

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.

obabarin avatar Mar 21 '22 15:03 obabarin

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

FrancisFigueira avatar Apr 18 '23 19:04 FrancisFigueira