Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6843AOPEVM no plots showing #14

Open
janwillemCA opened this issue Nov 24, 2021 · 21 comments
Open

6843AOPEVM no plots showing #14

janwillemCA opened this issue Nov 24, 2021 · 21 comments

Comments

@janwillemCA
Copy link

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
Copy link

obabarin commented Dec 8, 2021

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

@Ffalzter
Copy link

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
Copy link
Author

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

No I do not

@Ffalzter
Copy link

Ffalzter commented Jan 6, 2022

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
Copy link

Ffalzter commented Jan 7, 2022

Hi,

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

@janwillemCA
Copy link
Author

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
Copy link

Ffalzter commented Jan 7, 2022 via email

@janwillemCA
Copy link
Author

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
Copy link

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
Copy link

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
Copy link

Hello,

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

@obabarin
Copy link

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
Copy link

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
Copy link

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
Copy link

HichriAyoub commented Mar 18, 2022

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
Copy link

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
Copy link

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
Copy link

@Ffalzter
Copy link

Hello,

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

Best regards

@obabarin
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants