# How to create a smooth path with a UR10 + force sensor?

**URL:** <https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268>\
**Category:** Technical questions\
**Created:** [April 6, 2018, 4:08pm UTC](https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268 "2018-04-06T16:08:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schelte](https://www.robotexchange.io/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Schelte](https://www.robotexchange.io/u/Schelte)\
**Post date:** [April 6, 2018, 4:08pm UTC](https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268/1 "2018-04-06T16:08:59Z")

</div>

Hay,  
I have a program for a UR10 where it is following a path on a surface. When it is moving it puts force on the surface. We use an Optoforce sensor for this process. In the software of the sensor there is a force controlled movement. This is what we use to go from point to point, but at every point it stops for a few seconds.

Is there a way to make that movement smooth without the wait in between?

Below is a link to the program  
[MAIN\_CODE\_repolish\_BACK.script](https://www.robotexchange.io/uploads/default/original/1X/364ab6b578d0be698e95232a606a4212071c0a37.script) (90.3 KB)

Thanks in advance for the help,

Schelte

---

<div class="post-metadata">

**Author:** ![RoelT](https://www.robotexchange.io/letter_avatar_proxy/v4/letter/r/7993a0/32.png) [@RoelT](https://www.robotexchange.io/u/RoelT)\
**Post date:** [April 6, 2018, 7:29pm UTC](https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268/2 "2018-04-06T19:29:27Z")

</div>

Hi,

i have no experience with the sensor, but the normal way to make smooth movements is to use ‘blend’,

as shown in this video:

Stopping for a few seconds is not normal operation. Perhaps the robot is doing some calculations of there is a ‘wait’ command.

---

<div class="post-metadata">

**Author:** ![Mathijs](https://www.robotexchange.io/user_avatar/www.robotexchange.io/mathijs/32/7_2.png) [@Mathijs](https://www.robotexchange.io/u/Mathijs)\
**Post date:** [April 8, 2018, 3:19pm UTC](https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268/3 "2018-04-08T15:19:32Z")

</div>

Hi there,

I have three questions:

- What is the firmware version of the robot?
- What is the specific sensor you are using?
- What is the driver version you are using?

Also could you tell me what the relevant part of the code is, where does it go wrong?

---

<div class="post-metadata">

**Author:** ![Mathijs](https://www.robotexchange.io/user_avatar/www.robotexchange.io/mathijs/32/7_2.png) [@Mathijs](https://www.robotexchange.io/u/Mathijs)\
**Post date:** [April 8, 2018, 3:21pm UTC](https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268/4 "2018-04-08T15:21:15Z")

</div>

Their problem is probably related to the optoforce software component. This software is the part making adjustments to the movement, so this probably has nothing to do with the default movement blend radius setting.

---

<div class="post-metadata">

**Author:** ![Schelte](https://www.robotexchange.io/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Schelte](https://www.robotexchange.io/u/Schelte)\
**Post date:** [April 9, 2018, 10:30am UTC](https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268/5 "2018-04-09T10:30:38Z")

</div>

Hi,

The firmware of the robot is: 3.4.5.100  
The sensor: 6 Axis Force Torque Sensors, model: HEX-E  
[https://optoforce.com/6-axis-force-torque-sensor-robot-accessories-for-fast-automation](https://optoforce.com/6-axis-force-torque-sensor-robot-accessories-for-fast-automation)  
driver: HW: v1.3 , SW: v2.60

Below a small piece of the code where the sensor is used.  
[example code.rtf](https://www.robotexchange.io/uploads/default/original/1X/af894f06dea8f68a98e68873a03b842eeda16c5c.rtf) (2.8 KB)  
I use a list of coordinates where the robot needs to go. With a while loop I go through the list and put the coordinates inside the move command.

---

<div class="post-metadata">

**Author:** ![Mathijs](https://www.robotexchange.io/user_avatar/www.robotexchange.io/mathijs/32/7_2.png) [@Mathijs](https://www.robotexchange.io/u/Mathijs)\
**Post date:** [April 10, 2018, 11:48am UTC](https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268/6 "2018-04-10T11:48:45Z")

</div>

I have talked about this with Guus, and he told me you guys use RoboDK for code generation. Could you sh  
are the RoboDK script / files?

Edit:  
Nevermind, you guys are only generating the path in RoboDK right? Could you configure your movement commands in a different way? Setting the blend radius as suggested by @RoelT (It is in Meters, so fill in something that makes sense. It looks like the default value is 50.0 mm / 0.05 m)

Let me know if this changes anything!

```auto
movej(q, a=1.4, v=1.05, t=0, r=0)
movej(HOME, a=1.3962634015954636, v=1.0471975511965976, r=0.05)

```

 ![image](https://www.robotexchange.io/uploads/default/original/1X/f53415d4dc3554c77c0748343733120fd289974d.png)

---

<div class="post-metadata">

**Author:** ![Schelte](https://www.robotexchange.io/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Schelte](https://www.robotexchange.io/u/Schelte)\
**Post date:** [April 10, 2018, 2:09pm UTC](https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268/7 "2018-04-10T14:09:21Z")

</div>

I use a force controlled movement from the Optoforce sensor software. There is no option to use blend with it.

---

<div class="post-metadata">

**Author:** ![Mathijs](https://www.robotexchange.io/user_avatar/www.robotexchange.io/mathijs/32/7_2.png) [@Mathijs](https://www.robotexchange.io/u/Mathijs)\
**Post date:** [April 10, 2018, 2:30pm UTC](https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268/8 "2018-04-10T14:30:23Z")

</div>

Can you try to make a simple force controlled movement using just a few points you define yourself instead of the points generated by RoboDK? What are the results on that?

---

<div class="post-metadata">

**Author:** ![Schelte](https://www.robotexchange.io/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Schelte](https://www.robotexchange.io/u/Schelte)\
**Post date:** [April 11, 2018, 11:47am UTC](https://www.robotexchange.io/t/how-to-create-a-smooth-path-with-a-ur10-force-sensor/268/9 "2018-04-11T11:47:41Z")

</div>

This week I have no time to test it out. But maybe next week after the demonstration I have time to test it.  
Thanks for your help.
