# Getting joint posiitions for URCAPS

**URL:** <https://forum.universal-robots.com/t/getting-joint-posiitions-for-urcaps/2521>\
**Category:** URCap Development\
**Created:** [August 14, 2018, 9:06am UTC](https://forum.universal-robots.com/t/getting-joint-posiitions-for-urcaps/2521 "2018-08-14T09:06:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon24082263](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@anon24082263](https://forum.universal-robots.com/u/anon24082263)\
**Post date:** [August 14, 2018, 9:06am UTC](https://forum.universal-robots.com/t/getting-joint-posiitions-for-urcaps/2521/1 "2018-08-14T09:06:32Z")

</div>

I’m building a URCAP for my own customized movej node. I’m trying to get the joint positions using .getAllJointPositions() from the jointPosition class. But some times this value does not correspond with the one given the the RTDE server or the 30002 port server. In fact, when I introduce these values in the movej urscript function, the robot tries to move beyond its joint limits. The same happens with getAngle method. Its seems that the values are shifted by 2\*pi.  
There is a formal way to call these functions in order to avoid these problems?
