lbr-stack / fri

CMake support for KUKA's FRI Client SDK
Apache License 2.0
15 stars 17 forks source link

FRI creating connection to Localhost and not PC IP #4

Closed memoryisthekey closed 1 year ago

memoryisthekey commented 1 year ago

Hey,

Thanks for the great work and step-by-step setup tutorial. I think I'm missing something but I can't quite figure out what. When I run the application on the smart pad, FRI setups the connection with 127.0.0.1 and fails after a few seconds.

I've done the static IP on my pc and I've connected it to the KONI Eth port but that didn't seem to help. Any ideas on how to get it to create the connection to my IP (172.31.1.148) as shown in the examples? (I can ping the robot IP (172.31.1.147) on both Ethernet ports from my PC)

Thanks!

memoryisthekey commented 1 year ago

Ok, I think I may have it figured out.

You have to go into SunriseWorkbench with your project open and within examples -> com.kuka.connectivity.fri.example tab, open your application in the editor and change the _clientName from 127.0.0.1 to 172.31.1.148 as the comment in the code says.

I'll close the issue as soon as I am able to test it and get it to run.