Modi1987 / KST-Kuka-Sunrise-Toolbox

A ToolBox for controlling KUKA iiwa robot from matlab:
https://youtu.be/eh5s8PTe5VM
MIT License
164 stars 70 forks source link

Error message: The import com.kuka.generated cannot be resolved #6

Closed Metalzero2 closed 4 years ago

Metalzero2 commented 5 years ago

Hello there,

I was following your video tutorials because I am interested in the hand guiding system. However, I get an error. Specifically with the "PTPmotionClass.java" file. Sunrise tells me that it can't import "com.kuka.generated.ioAccess.MediaFlangeIOGroup". The exact message is:

The import com.kuka.generated cannot be resolved

I search everywhere on the internet but I cannot find any information about this module.

Do you know why the code is having this problem on my computer?

Thanks in advanced.

Modi1987 commented 5 years ago

Hello,

My guess is that you are having the issue because you are using one of the packages that are prepared for use on a robot with TOUCH PNEUMATIC flange, so if you have a different type of flange the code will not work. As you mentioned, there is very few data about IIWA in the internet. As a result the KST Toolbox was conceived through lots of experimentation (lots of trial and error), and since that in our lab we only have a KUKA iiwa 7 R 800 with a TOUCH PNEUMATIC flange, I could test the HAND GUIDING with this type of FLANGE. Due to lack of resources I could not make packages for other types of FLANGES. For safety reasons, especially for the HAND GUIDING, I can not put a code that is not tested, because in the hand-guiding mode the user is working directly with the robot.

Regards

sw14928 commented 4 years ago

Hi There,

I have exactly the same problem. Though all I want to do is control my arm using python. I don't think I have a touch pneumatic flange, though I am unsure?

Modi1987 commented 4 years ago

Hi,

I just updated the code, it shall work now

Cheers!

sw14928 commented 4 years ago

Great! Many thanks!