Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

IGUS Rebel Drivers and Post processor

#11
I believe you are not using the same version of the post processor we provided you.

If you go to line 241 of the file provided (attached a copy in this post), you'll find this:
Code:
        self.addline('<Joint Nr="%i" %s velPercent="%.0f" acc="%.0f" smooth="%s" AbortCondition="false" Descr="" />' % (self.NR_ID, joints_2_str(joints), self.SPEED_PERCENT, self.ACCEL_PERCENT, self.SMOOTH))
This line is different compared to what's reported by the error.

Can you double check you are using the latest version of the post processor we provided you? We are also planning to improve the way we manage coordinate systems and tools.


Attached Files
.py   IGUS.py (Size: 18.04 KB / Downloads: 177)
#12
Hello Albert,
I am using the same version you sent me. And the error is still present.

I have the station attached in previous posts. Can you please try it?
Regards.
#13
Yes, I confirm I tried with your station and I was able to generate the program attached.

However, your program/robot is using a post processor called IGUS_v2. You should select the IGUS post processor or make sure you override the correct file.


Attached Files
.zip   P63_cubes_test.zip (Size: 2.59 KB / Downloads: 203)
#14
Hello Albert, 
I still get the same error with IGUS.py. previously i just renamed it as IGUS_v2.py.
#15
Hello Albert and Phillip,
Problem 1: resolved
I resolved the issue issue in IGUS.py.
The error on line 241 was present because ACCEL_PERCENT is not defined anywhere in the code. I just defined the ACCEL_PERCENT = 35. and the code runs now.

Problem 2:
After generating the .xml the program gives error in IGUS IRc software. The xml (P63_cubes_test) that you(Albert) provided also results in error in Igus IRc software.

In case of subprogram (it works for Test_1 but not for Test_8_150mm_v3). I think the reason is because in  Test_8_150mm_v3 the subprogram is using Python script.
In case of Test_1, I can now see a different xml for subprograms but the IGUS IRc gives error when running the main program. Its because it not able to recognize the subprograms. And if I run individual subprogram, this results in limitation of axis movement error in Igus IRc.
Can you please test my all the programs in IRc? This will also give you a better idea on what I am complaining about. Because I am getting the same error.


Problem 3: Related to RoboDK software: 
While running Test_8_150mm_v7_same_base.rdk, My robot does not come to home position but rather sets itself at an offset. This results in error as robot becomes out of position. Is there something I am doing wrong here in roboDK to assign the position?

Can you please help me improve my error? 

Looking forward to support and improve the PP. 

Regards.


Attached Files
.rdk   Test_1.rdk (Size: 961.25 KB / Downloads: 222)
.rdk   Test_8_150mm_v3.rdk (Size: 1 MB / Downloads: 230)
.rdk   Test_8_150mm_v7_same_base.rdk (Size: 1 MB / Downloads: 269)
#16
Great, thank you for letting us know about the first issue. This makes sense. I attached the revised version.

We have not fixed Problems 2 and 3 yet. I'll let @Phillip reproduce them and fix them with the IGUS IRc software.

As a workaround for subprograms, you can inline subprogram calls into the main program by following these steps:
  1. Select Tools-Options
  2. Select the Program tab
  3. Check the option Inline subprograms
Thank you for your help patience!


Attached Files
.py   IGUS.py (Size: 18.08 KB / Downloads: 189)
#17
Hello Albert,
Update: Without using a gripper in Igus IRc, I am now able to run the subprogram of Test_1 file. So I can confirm that the subprogram works if it is generated separately. Same goes with the xml that you gave me yesterday. It also works without using gripper in IgusIRc.

But using python script, the subprogram is created in RoboDK interface but not as external xml file and hence it doesn't work. Also for Test_8_150mm_v3, if I delete all the sub program command and convert the station for only single frame i.e remove frame 3 and only use frame 1 then pick and place works. But using Frame 1 and Frame 3 it give error.

Hope this information helps.

Regards.
#18
I've attached two versions of the post, the new version that generates the tool file and frames files, and a simple version that maintains the previous behavior.

The tool file goes in C:\iRC-igusRobotControl-V14\Data\Tools while the frames file userFrames.xml, should replace the one in C:\iRC-igusRobotControl-V14\Data\userFrames.xml

If you wish to create programs in a single file and the frame and tool data auto calculated out, just use the IGUS_Simple post processor.

As for the python post processing issue, I could successfully replicate it, we will investigate that issue further. As an interim solution, you could modify your python script to generate a regular RoboDK program that can then be run with the IGUS post processor without any issues.
Code:
# Controlling the robot directly
robot.setPoseTool(tool)

# Adding an instruction to a robodk program being generated
prog.setPoseTool(tool)


Attached Files
.py   IGUS.py (Size: 21.98 KB / Downloads: 185)
.py   IGUS_Simple.py (Size: 5.53 KB / Downloads: 184)
#19
Hello Phillip,
Thank you for the new updates. I have tired this both program. The Userframe is created but the I still have the same error when using the multi frame.

What i have figured out for now is to use the previous version of yours, convert the robodk station with only one reference (eg. Frame 1). And then manually generate the subprogram and insert them in Igus software. This works that way.

Looking forward to new updates

Regards.
#20
The new versions should support multiple frames, I've attached one my test stations so you can verify yourself, for the regular post processor, it now generates a userFrames.xml file that needs to be copied into the robots files before the IGUS simulator is started. I can't comment on the behavior of overwriting this file on the real robot but I would appreciate feedback. If for some reason you can't or it's not desirable to overwrite the userFrames.xml file, I also included the Simple post processor.

The simple IGUS post processor calculates out all the frames and tools and simply makes everything relative to the base of the robot and the flange, this is so that you don't need to manually copy the frames file and make sure that the tool definition on the robot matches the one in RoboDK.


Attached Files
.rdk   Test_2 Frames.rdk (Size: 962.75 KB / Downloads: 198)
  




Users browsing this thread:
1 Guest(s)