# UR5 trajectory on 5kg payload

**URL:** https://forum.universal-robots.com/t/ur5-trajectory-on-5kg-payload/18262
**Category:** Technical Questions
**Created:** [December 20, 2021, 9:00am UTC](https://forum.universal-robots.com/t/ur5-trajectory-on-5kg-payload/18262 "2021-12-20T09:00:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![kseo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kseo/32/2991_2.png) [@kseo](https://forum.universal-robots.com/u/kseo)
#### Post date: [December 20, 2021, 9:00am UTC](https://forum.universal-robots.com/t/ur5-trajectory-on-5kg-payload/18262/1 "2021-12-20T09:00:15Z")

</div>

![0kg](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/d/df7a8f19bf96168181c001cce24945fbbe62115b.png)

![5kg](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/1/1498e71cc2155b1fb5f3cafdec06bff2dc5001d1.png)

Upper picture : 0kg payload  
Down picture : 5kg payload

Axis X : time(ms)  
Axis Y : degree(rad)

hello

I compared the trajectory of UR5 between 0kg payload and 5kg payload in same function(moveL) same waypoint.

And I extract the angle of joint1,which is target\_qd\_1 and actual\_qd\_1.

The trajectory of 0kg payload is smooth and stable.

But, The trajectory of 5kg payload is not smooth and unstable.

Why the different is happen?

Thank you.

---

<div class="post-metadata">

### Author: ![jor](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@jor](https://forum.universal-robots.com/u/jor)
#### Post date: [December 20, 2021, 3:25pm UTC](https://forum.universal-robots.com/t/ur5-trajectory-on-5kg-payload/18262/2 "2021-12-20T15:25:55Z")

</div>

Hi kseo,

Did you remember to set the payload and Center-of-Gravity correctly?  
Installation-\>General-\>Payload

 ![payload](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/f/fddbb416af44ec8aa92e9b51c404ad2378dc9490.png)

---

<div class="post-metadata">

### Author: ![kseo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kseo/32/2991_2.png) [@kseo](https://forum.universal-robots.com/u/kseo)
#### Post date: [December 21, 2021, 1:35am UTC](https://forum.universal-robots.com/t/ur5-trajectory-on-5kg-payload/18262/3 "2021-12-21T01:35:37Z")

</div>

Hi jor

Of course, I set the Payload-Mass and the Center of Gravity.

And I use UR5, CB-series.

Thank you.

---

<div class="post-metadata">

### Author: ![jor](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@jor](https://forum.universal-robots.com/u/jor)
#### Post date: [December 21, 2021, 6:43am UTC](https://forum.universal-robots.com/t/ur5-trajectory-on-5kg-payload/18262/4 "2021-12-21T06:43:52Z")

</div>

Hi kseo,

I’ve tried to look at your figures again.  
The joint is tracking the Target position correctly. (So I should have been able to deduce that you set the payload and Center-of-Gravity correctly)

Robot movement is dependent on what type of move you are doing.  
If you are doing a moveJ, then the robot will try to move the Tool to the target position as fast as possible.  
The pathPlanner might do some weird shaping, since the robot is not infinitely rigid.

The pathPlanner is primarily concerned with the position of the tool, not so much the angle of individual joints  
Have you considered to look at the tool position instead of a joint?

---

<div class="post-metadata">

### Author: ![kseo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kseo/32/2991_2.png) [@kseo](https://forum.universal-robots.com/u/kseo)
#### Post date: [December 21, 2021, 7:19am UTC](https://forum.universal-robots.com/t/ur5-trajectory-on-5kg-payload/18262/5 "2021-12-21T07:19:02Z")

</div>

Hi jor

I used the moveL function.

The program consist of three waypoint.

And three waypoints is on a line.  
Only position Y is different

eg. p1 = ( 200, 250, 400)  
p2 = ( 200, 400, 400)  
p3 = ( 200, 550, 400)

and the velocity is 300mm/s

![P1](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/5/5208d145109769e08ded01200adbd6c1825a1d2a.png)

![P2](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/a/a7876ff99e5ea81c412558ab048ac7e7d8d8bbba.png)

![v1](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/9/9473f26d777657f49ce9f400939be779ae7b065b.png)

![v2](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/7/7de983a1b25a99ebd22eb24a0910bdf7a7c23824.png)

The tool position is same different like joint.

However, the tool velocitiy is smooth and stable each condition.

Thank you.
