ekurtgl / FMCW-MIMO-Radar-Simulation

178 stars 35 forks source link

Undefined function `rcsellipsoid` in `FMCW_sim_v4.m` and CVX toolbox version in `FMCW_simulation.m` #3

Open Zhenyu98 opened 3 months ago

Zhenyu98 commented 3 months ago

Hi Emre Kurtoglu,

Firstly, thank you for providing such a comprehensive simulation tool for FMCW MIMO radar. I have encountered a couple of issues while running the scripts and would appreciate your assistance.

Issue 1: Undefined function rcsellipsoid in FMCW_sim_v4.m When running the FMCW_sim_v4.m script, MATLAB throws an error indicating that the function rcsellipsoid is undefined. This occurs at line 147, where the function is called. Here is a screenshot of the error: image

Could you please check if this function is missing from the repository or provide guidance on how to define or obtain this function?

Issue 2: CVX toolbox dependency in FMCW_simulation.m Additionally, I noticed that the FMCW_simulation.m script uses the CVX toolbox. It would be helpful to include a note in the README file specifying its version and providing installation instructions or a link to the CVX toolbox.

Thank you very much for your support and contributions to the community. Looking forward to your response.

Best regards, zhenyu

ekurtgl commented 3 months ago

Hi @Zhenyu98,

Thank you for pointing this out. I added the missing files. CVX toolbox is this one [link]. I hope these help.

Best, Emre

Zhenyu98 commented 3 months ago

Hi @ekurtgl ,

Thank you for resolving the previous issues. I have encountered a new problem while running the FMCW_sim_v4.m script.

Issue 1: Undefined function create_body_model in FMCW_sim_v4.m MATLAB throws another error indicating that the function create_body_model.m is undefined. This occurs at line 93. Here is a screenshot of the error:

1e7de465aef7099afd34c901af7e5c7

This function appears to be crucial for visualizing human motion, which is an important aspect of the simulation. Could you please check if this function is missing from the repository or provide guidance on how to define or obtain this function?

Issue 2: Explanation of 20220817_191142_00.mat data file Additionally, the script loads a data file named 20220817_191142_00.mat. Could you please provide an explanation of how this data file was generated? Understanding the source and structure of this data would greatly help in comprehending and potentially replicating the experiments.

Thank you for your continuous support.

Best regards,
Zhenyu

ekurtgl commented 3 hours ago

Hi,

I just uploaded the missing file. That sample .mat file is generated using the Kinect v2's skeleton estimation, but it can be replaced with any file containing a 3D array with the shape of (number of targets (or skeleton points), 3 (xyz coordinates w.r.t. radar), duration (number of camera frames)). I hope this helps.