# Weight sensing with UR10e

**URL:** <https://forum.universal-robots.com/t/weight-sensing-with-ur10e/30859>\
**Category:** Technical Questions\
**Created:** [October 10, 2023, 6:19pm UTC](https://forum.universal-robots.com/t/weight-sensing-with-ur10e/30859 "2023-10-10T18:19:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmarina](https://avatars.discourse-cdn.com/v4/letter/f/f0a364/32.png) [@fmarina](https://forum.universal-robots.com/u/fmarina)\
**Post date:** [October 10, 2023, 6:19pm UTC](https://forum.universal-robots.com/t/weight-sensing-with-ur10e/30859/1 "2023-10-10T18:19:10Z")

</div>

Hi, how can I sense box’s weight without using another sensor or which sensor do you recommend? Also which precision i could get with robot’s sensors? Thanks!

---

<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:** [October 10, 2023, 8:11pm UTC](https://forum.universal-robots.com/t/weight-sensing-with-ur10e/30859/2 "2023-10-10T20:11:43Z")

</div>

To sense the force acting on the robot flange without an external sensor use `get_tcp_force()`.

This will be a quite coarse measurement, I dont know what the precision will be.  
Depending on the use-case you will probably need to use an external force-sensor.

The function will give you a 6D-Value that shows the forces acting on the TCP in tool-space.  
If you pick up the box from above you would have to look at the 3rd value which is the force in Z-direction.  
You should pick up the box directly above the center of gravity, otherwise you will get a rotational moment that you will need to account for.

 ![Screenshot 2023-10-10 at 22.07.26](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/8/80e2d441929bda73a3081e5476ad37a05ae40863.png)

---

<div class="post-metadata">

**Author:** ![efn](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@efn](https://forum.universal-robots.com/u/efn)\
**Post date:** [October 11, 2023, 5:48am UTC](https://forum.universal-robots.com/t/weight-sensing-with-ur10e/30859/3 "2023-10-11T05:48:31Z")

</div>

I have tried this earlier, and as far as I remember, the precision was +/- 200g, so not very precise. But if you just want to check for empty boxes versus full boxes of something, then it should be possible.

Remember to zero the force/torque sensor, before picking up the box for measurement. 🙂

---

<div class="post-metadata">

**Author:** ![bba](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/bba/32/555_2.png) [@bba](https://forum.universal-robots.com/u/bba)\
**Post date:** [October 11, 2023, 1:36pm UTC](https://forum.universal-robots.com/t/weight-sensing-with-ur10e/30859/4 "2023-10-11T13:36:15Z")

</div>

Hi,  
You will not get good results trying to use the robots internal force/torque (F/T) sensor to determine absolute weight of an object (+/- 200g is probably about as good as it gets). I know as I have tried this myself and assisted others. You CAN get relative weight and measure that within +/- 10% or so. Also, if you pick up a reference mass and then use that to calibrate the robots readings before picking up a target object that might give you some decent results. The robot must be absolutely still too.

The other caveat to this whole process is that it is very dependent on the pose of the robot and how gravity is acting on the robots F/T sensors. I will attach an example.

[weight\_v2.urp](https://forum.universal-robots.com/uploads/short-url/fXIKcfaubvjwrreaiNT9Vi6Hoew.urp) (3.7 KB)
