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

Urp file and script file calculates different joint angles

#1
I use Universal Robots URP post processor to cerate robot program to test with real robot. When I transfer URP file to the robot, it shows different joint angles then the robodk simulation points joint angles. But the script files that is created by the post processor shows the correct ones.

Do I miss something?


Script File joints:
set_tcp(p[0.000000, 0.035000, 0.125000, 0.000000, 0.000000, 0.000000])
movel(p[0.398574, -0.079136, 0.292329, -0.133525, 2.261074, 1.115235],accel_mss,speed_ms,0,0.000)
movel(p[0.396866, -0.075933, 0.295768, 0.219433, 2.334044, 1.267492],accel_mss,speed_ms,0,0.000)

URP file joints.








< outputFlangePose姿势= " 0.340272,-0.189143,0.324588, 0.219433, 2.334044, 1.267492"/>



first point joint angles that seen on the teach pendant:124.71, -99.31, -248.12, -65.04, -34.38, 7.58
robodk values: -23.60, -81.12, -125.07, -47.37, 151.25, 86.92
#2
Hi Akel,

When you say this:

Quote: Script File joints:
set_tcp(p[0.000000, 0.035000, 0.125000, 0.000000, 0.000000, 0.000000])
movel(p[0.398574, -0.079136, 0.292329, -0.133525, 2.261074, 1.115235],accel_mss,speed_ms,0,0.000)
movel(p[0.396866, -0.075933, 0.295768, 0.219433, 2.334044, 1.267492],accel_mss,speed_ms,0,0.000)

There are no Joints values in this .script file.
P[0.398574, -0.079136, 0.292329, -0.133525, 2.261074, 1.115235] is for P[X,Y,Z,W,P,R].

How are you creating those movements?
As there is no MoveJ in your program, you are not forcing a specific set of joint configurations, therefore, you can't be sure which joint values you will end up with, just the cartesian position.

Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.


#3
Hi Jeremy,

All positions are MOVEL. It should force the joint values as I set according to the selected joint configuration and teached these points.

BR,

Burçak
#4
Hi Burçak,

Quote: It should force the joint values as I set according to the selected joint configuration and teached these points

Why "it should"?
MoveL does not respect robot configurations, MoveJ does.
This is why a path should always start with a MoveJ if you want to ensure a specific robot configuration.

Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.






Users browsing this thread:
1 Guest(s)