# Get\_actual\_tcp\_pose()

**URL:** <https://forum.universal-robots.com/t/get-actual-tcp-pose/28330>\
**Category:** Technical Questions\
**Created:** [May 10, 2023, 8:16am UTC](https://forum.universal-robots.com/t/get-actual-tcp-pose/28330 "2023-05-10T08:16:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![2486902145](https://avatars.discourse-cdn.com/v4/letter/2/6f9a4e/32.png) [@2486902145](https://forum.universal-robots.com/u/2486902145)\
**Post date:** [May 10, 2023, 8:16am UTC](https://forum.universal-robots.com/t/get-actual-tcp-pose/28330/1 "2023-05-10T08:16:58Z")

</div>

pactpos=get\_actual\_tcp\_pose()获取当前TCP姿态赋值给pactpos，  
pactpos[2]≥0.185是啥意思

---

<div class="post-metadata">

**Author:** ![robin\_gdwl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/robin_gdwl/32/2676_2.png) [@robin\_gdwl](https://forum.universal-robots.com/u/robin_gdwl)\
**Post date:** [May 10, 2023, 10:46am UTC](https://forum.universal-robots.com/t/get-actual-tcp-pose/28330/2 "2023-05-10T10:46:53Z")

</div>

`pactpos[2]≥0.185` is a comparative operation that compares the 3rd value of the TCP-pose (the Z-value) to a number (0.185).  
This comparison returns true if the z-value of the pose is bigger or equal to 0.185
