Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Radar sensor Forum Discussions

h_nakamura
Level 4
100 sign-ins 25 replies posted First solution authored
Level 4

Hi all,

The GUI indicates the target point like below view and I’d like to get that coordinate information(X,Y). Please let me know how I get the coordinate information from which source code.

 h_nakamura_0-1657236070460.png

B.R

h_nakamura

0 Likes
1 Solution
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @h_nakamura ,

If you check the Segmentation CMakeLists ( C:\Infineon\Tools\Radar Development Kit\3.2.1.202205180921\application\RDK-TOOLS-SW\RDK-TOOLS-SW\SDK\apps\c\segmentation), you’ll find a condition for the platforms on which the Segmentation is workable :

Deepa_V_0-1658921696833.png

 

From the error you received, I suppose you are using a 32- bit platform which is not supported.

Deepa_V_1-1658921696838.png

I would suggest you try out the same on the supported platforms.

Best regards,

Deepa

View solution in original post

16 Replies
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @h_nakamura ,

For Seamless tracking, you can get only two coordinates :  ρ representing the angle of detection and r representing the distance from the device. You will not be able to get the x, y coordinates for the same.

Best regards,

Deepa

0 Likes
h_nakamura
Level 4
100 sign-ins 25 replies posted First solution authored
Level 4

Thanks for your prompt reply.
"ρ coordinate representing the angle of detection and r representing the distance" is OK. How do I get that raw data?

Best regards,
nakamura

0 Likes
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @h_nakamura ,

You can get that info using the Segmentation app in the Radar Development kit. The app will be created in the bin folder in RDK once you compile it. You can use the same for deriving the info. The structure of the obtained information is given in the segmentation.c file available at : C:\Infineon\Tools\Radar Development Kit\3.2.1.202205180921\application\RDK-TOOLS-SW\RDK-TOOLS-SW\SDK\apps\c\segmentation

Best regards,

Deepa

0 Likes
h_nakamura
Level 4
100 sign-ins 25 replies posted First solution authored
Level 4

Hi Deepa,

Thanks.
I found "app_segmentation.c". If the BGT60TR13C EVK(Hatvan) is connected to the PC and I excute this c file then it starts the program? The angle and distance will be logged in "¥n", won't it?

Best regards,
nakamrua

0 Likes
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @h_nakamura ,

You'll have to compile the whole SDK and not just the app "app_segmentation.c" . On compiling the whole of SDK, as stated before, a folder "bin" will be created on the SDK folder inside which you'll find an app for segmentation. You can click on the app to get the values. 

Best regards,

Deepa

0 Likes
h_nakamura
Level 4
100 sign-ins 25 replies posted First solution authored
Level 4

Hi Deepa,
I installed CMake 3.24.0-rc3 and ran "Generate", but I got an error.
Do you know what caused it?
Best regards,
N.N

0 Likes
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @h_nakamura ,

Would you please try out the steps as suggested below : 

1. Open the command window by typing 'cmd' in the SDK folder path. 

 

Deepa_V_1-1657814243450.png

2.  Once the command window opens, first write cmake -G "MinGW Makefiles" and press enter then write mingw32-make -f Makefile and press enter again. 

Deepa_V_2-1657814391143.png

3. Now there'll be a Bin folder created in your SDK. If you open that folders, you'll see the app there !

Let us know if you still face issues !

Best regards,

Deepa

 

0 Likes
h_nakamura
Level 4
100 sign-ins 25 replies posted First solution authored
Level 4

Hi Deepa,
It occurred an error as follows.

h_nakamura_0-1657851219877.png

 

Best regards,
N.N

0 Likes
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @h_nakamura ,

In this mingw32 method, you have to install those requirements, like mingw32 and cmake etc. and as for the previous method that you used, I suppose you are not compiling the root directory and that's why you're getting an error. You have to compile the whole of SDK instead of the presence detection file alone. 

Hope this helps !

Best regards,

Deepa

0 Likes
h_nakamura
Level 4
100 sign-ins 25 replies posted First solution authored
Level 4

For some reason, the executable file of "segmentation" is not generated. Do you know why does it happen?

h_nakamura_0-1658814495228.png

Best regards,

H.N

0 Likes
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @h_nakamura ,

Can you please share a screenshot the files available in C:\Infineon\Tools\Radar Development Kit\3.2.1.202205180921\application\RDK-TOOLS-SW\RDK-TOOLS-SW\SDK\apps\c  in your system?

Also, please let me know if there any changes that you made on the Segmentation file. 

Best regards,

Deepa

0 Likes
h_nakamura
Level 4
100 sign-ins 25 replies posted First solution authored
Level 4

h_nakamura_0-1658824973477.png

I didn't any change.

 

0 Likes
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @h_nakamura ,

Please verify if before compiling you had these two files in C:\Infineon\Tools\Radar Development Kit\3.2.1.202205180921\application\RDK-TOOLS-SW\RDK-TOOLS-SW\SDK\apps\c\segmentation :

Deepa_V_0-1658826362244.png

And after compiling you have the following files created on the same folder : 

Deepa_V_1-1658826418387.png

This information will help us identify your issue better. 

Thank you for your patience, 

Best regards,

Deepa

 

0 Likes
h_nakamura
Level 4
100 sign-ins 25 replies posted First solution authored
Level 4

Hi Deepa,
For confirmation, I tried again from unzipping the zip file. The file looks fine, but again segmentation.exe was not generated.

h_nakamura_0-1658880907163.png

h_nakamura_1-1658880907172.png

h_nakamura_2-1658880907177.png

Best regards,
H.N

0 Likes
Deepa_V
Moderator
Moderator 100 replies posted 100 sign-ins 10 likes received
Moderator

Hi @h_nakamura ,

If you check the Segmentation CMakeLists ( C:\Infineon\Tools\Radar Development Kit\3.2.1.202205180921\application\RDK-TOOLS-SW\RDK-TOOLS-SW\SDK\apps\c\segmentation), you’ll find a condition for the platforms on which the Segmentation is workable :

Deepa_V_0-1658921696833.png

 

From the error you received, I suppose you are using a 32- bit platform which is not supported.

Deepa_V_1-1658921696838.png

I would suggest you try out the same on the supported platforms.

Best regards,

Deepa

h_nakamura
Level 4
100 sign-ins 25 replies posted First solution authored
Level 4

Hi Deepa,
Thanks for your help. I used an incorrect "mingw64". It worked wiht using the correct "mingw64".
Best regards,
H.N

0 Likes