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

filtering is causing tool to wildly reorient

#1
A .src file works fine unfiltered, but when I drag&drop, "filter only", and run the filtered code, it's causing my tool to reorient by almost 180 degrees sometimes and impact the part.

I've been using this method problem-free for a couple months until today when it's destroyed three parts. I can't run a simulation of the code because all my targets are unreachable so I don't know if robodk knows it's screwing up the code.

The "A" rotation is 90 degrees different in this example.

Here are a few lines of functioning code, unfiltered:
Code:
$VEL.CP=0.35
LIN {X -365.644, Y 193.526, Z 809.626, A -169.333, B -87.933, C -98.11} C_DIS
LIN {X -416.455, Y 191.299, Z 800.698, A -139.053, B -89.531, C -128.387} C_DIS

and here is the same segment of code, filtered:
Code:
$VEL.CP=0.35
LIN {X -364.642,Y 193.278,Z 808.954,A -166.911,B -88.416,C -97.933,E1 50.00000,S 'B010'} C_DIS ; filtered
LIN {X -415.468,Y 191.056,Z 799.983,A -64.725,B -89.685,C -128.930,E1 50.00000,S 'B010'} C_DIS ; filtered

In the attached two files, it's lines 679 and 680.

To verify that the RDK station hasn't changed, I tried a backup of the RDK station from early February and had the exact same result. It's possible that something in Sprutcam changed, but I don't know what would make the filtering change sprutcam's output by an extra 74.328 deg - that doesn't really seem like a significant number. 1.3 radians?

任何想法是什么?
-Karl


Attached Files
.rdk R2-v2.rdk(Size: 1.34 MB / Downloads: 80)
.src R2.src(Size: 235.7 KB / Downloads: 70)
.src R2_filtered.src(Size: 319.19 KB / Downloads: 71)


Messages In This Thread
filtering is causing tool to wildly reorient - byKarl- 03-14-2023, 10:06 PM



Users browsing this thread:
1 Guest(s)