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

no response from LBRServer #188

Open
Miftahur92 opened this issue Jun 7, 2024 · 9 comments
Open

no response from LBRServer #188

Miftahur92 opened this issue Jun 7, 2024 · 9 comments

Comments

@Miftahur92
Copy link

Hi all, seeking help to connect a KMR omnimove 200 LBR iiwa 14 with ROS2 using FRI.

I tried to replicate the example in the readme. The IP address is different for me, instead of 172.31.1.147 it is 172.31.1.10. Whenever I select the LBRServer application on KUKA controller, nothing happens. Also I get failure message in the terminal as well. I have no idea what is going on.
Screenshot 2024-06-06 141558
Screenshot 2024-06-06 114643
1717776176674
1717776176688
1717776176704
1717776176717

@mhubii
Copy link
Member

mhubii commented Jun 8, 2024

hi @Miftahur92 , thanks for the feedback.

Your IP configuration should be fine and seems consistent.

2 questions

  1. Run the application
    Simple question first: Did you run the LBRServer application? See below

lbr_server_run

  1. Configure IP in application
    Since your PC's IP is 172.31.1.11, you will have to change this in the LBRServer application:

https://github.com/lbr-stack/fri/blob/0a5e17a643b53dbcced8bd17c16027f71511a11a/server_app/LBRServer.java#L35

Please let me know if any of this helps.

@Miftahur92
Copy link
Author

Thank you @mhubii for answering.

for 1. I have tried to run the application by pressing the enabling switch and pressing the play button. However, nothing happens.
for 2. I have changed the IP address as indicated.

There is a safety controller warning. Still, I can move the robot manually with the KUKA controller.
1718032471402

@mhubii
Copy link
Member

mhubii commented Jun 10, 2024

I can suggest you to try and

  1. Ping the robot (ping 172.31.1.10)
  2. Check the FRI version (yours should be 1.16)
  3. Run any of KUKA's plain demos: https://github.com/lbr-stack/fri?tab=readme-ov-file#build
  4. Check firewall: FRI connection fails for ros noetic #67 (comment)

@Miftahur92
Copy link
Author

Hi @mhubii thank you again for your quick response. I was able to run the application. The problem was with the calibration and mastering. However, I am still unable to connect with ros2 properly because of time mismatch between the laptop and KUKA controller. I tried to find a solution but the kuka controller interface is different in all the tutorials and guidelines. Do you have any suggestion for changing the time in kuka controller?
1718103498490

@mhubii
Copy link
Member

mhubii commented Jun 11, 2024

okay, great, progress!

don't have experience with changing the time, however, if you connect a screen, a keyboard, and a mouse to the KUKA controller, you can use it like any other Windows PC. Maybe that's how you can set the time?

@Miftahur92
Copy link
Author

Hi, I couldn,t fix the time. But, I was able to run one of the plain demos you mentioned (https://github.com/lbr-stack/fri?tab=readme-ov-file#build)
Next i tried to run lbr_demos_py. In the KUKA smartpad I can see the connection was established. But, there was no motion from the robot and in the Rviz, the robot was not properly displayed.
Screenshot from 2024-06-13 13-18-46
Screenshot from 2024-06-13 13-18-00

@Miftahur92
Copy link
Author

Hi @mhubii. I have found a solution to make it work. I changed the value of "use_sim_time" from false to true in real.launch.py. Now, I can move the kuka iiwa14 with moveit.

@mhubii
Copy link
Member

mhubii commented Jun 13, 2024

hi @Miftahur92, thank you for returning to this. Could you please share where you changed that value?

use_sim_time should be false for the hardware, hence a little surprised

@Miftahur92
Copy link
Author

line 26 of real.launch.py (robot_description=robot_description, use_sim_time=False) from lbr_bringup package.

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

2 participants