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

cannot resolved com.kuka.generated.ioAccess.MediaFlangeGroup #10

Closed TommasoBendinelli closed 4 years ago

TommasoBendinelli commented 4 years ago

Hello,

I have been trying to use KST_1.7_iiwa_universal_noFlange_LST. But unfortunately I have encountered the following error: com.kuka.generated cannot be resolved.

I am using a KUKA iiwa R800 with Sunrise Workbench 1.14.1.15. No end effector attached.

TommasoBendinelli commented 4 years ago

solved it by choosing Media Flange: "Median-Flansch IO elektrisch" during the creation of a new sunrise project.

Modi1987 commented 4 years ago

Hi,

I checked the code, I believe the error is inside the class "PTPmotionClass.java", the solution to your problem is quite simple, open the file "PTPmotionClass.java" and just delete line 12:

import com.kuka.generated.ioAccess.MediaFlangeIOGroup;

Cheers!

TommasoBendinelli commented 4 years ago

Hello Mohammad,

I tried that as well before, but then you referencing to that package in the PTPmotionClass. Hence, if you delete that line you will end up in other missing name issues