# What is the difference between get\_actual\_joint\_positions () and get\_target\_joint\_positions ()

**URL:** <https://forum.universal-robots.com/t/what-is-the-difference-between-get-actual-joint-positions-and-get-target-joint-positions/17366>\
**Category:** URScript\
**Created:** [November 2, 2021, 5:55am UTC](https://forum.universal-robots.com/t/what-is-the-difference-between-get-actual-joint-positions-and-get-target-joint-positions/17366 "2021-11-02T05:55:48Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![sya](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sya/32/216_2.png) [@sya](https://forum.universal-robots.com/u/sya)\
**Post date:** [November 3, 2021, 3:43am UTC](https://forum.universal-robots.com/t/what-is-the-difference-between-get-actual-joint-positions-and-get-target-joint-positions/17366/7 "2021-11-03T03:43:57Z")

</div>

Hi @anon26936014

You could check this thread as a reference.

> [@Why did the Servoc instruction stall at the last point?](https://forum.universal-robots.com/t/why-did-the-servoc-instruction-stall-at-the-last-point/17137/7):
>
> The following part of the Script Manual gives you insight in the usage of this command: You can also provide a list of joint angles, which are near the expected result values. With this you can avoid switching e.g. between Ellbow Up and Down Positions unintentionally for the same robot TCP pose. The Script Manual can found on our [Support Site](https://www.universal-robots.com/support/): Downloads → Manual → Script → Desired SW Version

Servoj need to fill in 6 joint position as a list so you could combine the get\_inverse\_kin() to convert your TCP position command to joint position command.

Thanks

---

_[View the full topic](https://forum.universal-robots.com/t/what-is-the-difference-between-get-actual-joint-positions-and-get-target-joint-positions/17366)._
