# Getting the motor torque of YUMI

**URL:** <https://tech-community.robotics.abb.com/t/getting-the-motor-torque-of-yumi/7576>\
**Category:** Collaborative Robots\
**Tags:** rapid\
**Created:** [February 11, 2017, 5:32am UTC](https://tech-community.robotics.abb.com/t/getting-the-motor-torque-of-yumi/7576 "2017-02-11T05:32:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qh123](https://avatars.discourse-cdn.com/v4/letter/q/9dc877/32.png) [@Qh123](https://tech-community.robotics.abb.com/u/Qh123)\
**Post date:** [February 11, 2017, 5:32am UTC](https://tech-community.robotics.abb.com/t/getting-the-motor-torque-of-yumi/7576/1 "2017-02-11T05:32:16Z")

</div>

Hi all,

I am recently using the YUMI robot. I have learned from a paper that we can get the motor torque of YUMI in real time and estimate the external force, but unfortunatelly there was no more details in that paper.

Anyone managed to do that or has succesfully done? Could you share me the demo to help me get the motor torque of YUMI?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Pavel\_Riabichev](https://avatars.discourse-cdn.com/v4/letter/p/8e7dd6/32.png) [@Pavel\_Riabichev](https://tech-community.robotics.abb.com/u/Pavel_Riabichev)\
**Post date:** [February 16, 2017, 9:27am UTC](https://tech-community.robotics.abb.com/t/getting-the-motor-torque-of-yumi/7576/2 "2017-02-16T09:27:17Z")

</div>

Hello  
There is a RAPID instruction called GetMotorTorque. Have not tested if it works for yumi but I guess that it should.

VAR num motor\_torque2;  
motor\_torque2 := GetMotorTorque(2);

/Pavel

---

<div class="post-metadata">

**Author:** ![rzhao](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/rzhao/32/395_2.png) [@rzhao](https://tech-community.robotics.abb.com/u/rzhao)\
**Post date:** [May 24, 2017, 5:01pm UTC](https://tech-community.robotics.abb.com/t/getting-the-motor-torque-of-yumi/7576/3 "2017-05-24T17:01:14Z")

</div>

> [@Qh123](#):
>
> Hi all,
> 
> I am recently using the YUMI robot. I have learned from a paper that we can get the motor torque of YUMI in real time and estimate the external force, but unfortunatelly there was no more details in that paper.
> 
> Anyone managed to do that or has succesfully done? Could you share me the demo to help me get the motor torque of YUMI?
> 
> Thanks a lot!

Hello,

Have you succeeded to get the torque of YuMi? I tried with the GetMotorTorque function, but the axis number is only from 1-6.  
Moreover, when I tapped on the robot, the motor torque didn’t really change too much.

many thanks,  
Ran

---

<div class="post-metadata">

**Author:** ![Amjed](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Amjed](https://tech-community.robotics.abb.com/u/Amjed)\
**Post date:** [April 16, 2018, 11:53am UTC](https://tech-community.robotics.abb.com/t/getting-the-motor-torque-of-yumi/7576/4 "2018-04-16T11:53:56Z")

</div>

hello,

where the value of the motor\_torque is saved ?

---

<div class="post-metadata">

**Author:** ![yuminist](https://avatars.discourse-cdn.com/v4/letter/y/e47774/32.png) [@yuminist](https://tech-community.robotics.abb.com/u/yuminist)\
**Post date:** [October 5, 2018, 7:05am UTC](https://tech-community.robotics.abb.com/t/getting-the-motor-torque-of-yumi/7576/5 "2018-10-05T07:05:56Z")

</div>

as far as i know the torque won’t be saved until you write it in a file.  
GetMotorTorque() is kinda continouus stream i think.
