Costum movenode

So it’s totally an aside, but I’ve seen Java have a hard time using == to compare strings. You may find success with your if() statements by using .equals() as the comparison.

We use the Features in our welding CAP, and it ends up writing script that looks like this:

movep(pose_trans(Base, pose_trans(pose_inv(p[0.0,0.0,0.0,0.0,0.0,0.0]), p[-0.18963153690184714,-0.639468548254798,0.26097114845197156,-0.0012213596815951828,3.116276528481966,0.03889191563689264])), a = 0.5, v = weld_speed, r = 0.0017779999882652003)

Can you verify that your script is writing “Base” exactly like that? No additional spaces, capital B? You’ll also see the argument for the pose_inv() command is the POSE for the Feature, (Base being all 0s) so make sure you’re not putting the String “Base” in where it expects a pose.

1 Like