EricssonResearch / scott-eu

SCOTT – Secure Connected Trustable Things
https://scottproject.eu/uc04-logistics-management-using-collaborative-robots-and-devops-methodologies/
Apache License 2.0
20 stars 8 forks source link

Make robot arm able to pick products #117

Closed jramadeu closed 5 years ago

jramadeu commented 6 years ago

On #116 I'm facing some problems with v-rep scene when I try to pick a product.

In the scene warehouse_turtlebot2i_v3_recharge.ttt we have the following issues:

KRaizer commented 6 years ago

Hi @jramadeu , commenting on those questions:

KRaizer commented 6 years ago

I'm working on this issue in branch "make_product_pickable" (still local). Which script(s) are you @jramadeu running to create products on the shelves, move the robot and attempt the picking?

jramadeu commented 6 years ago

@KRaizer,

I suggest you to control the robot via V-REP while you're debugging on this task. The branch issue-116 is not stable, but if you want to use it I can help you.

KRaizer commented 6 years ago

@jramadeu , I've modified the scene "warehouse_turtlebot2i_v3_recharge.ttt" as follows:

Modifications are available at the following branch: make_product_pickable

Could you please take a look at it before we attempt merging them to master?

jramadeu commented 6 years ago

@klaus, I've tried as much as possible to make the pick stable and I failed miserably. The arm can interact with the product, but when it picks the product usually the product slips or the arm gets quite unstable.

jramadeu commented 6 years ago

Another note: when the robot is centralized with a shelf, perfectly in front of product red, is quite hard for the hard to grasp product green or yellow. This happen due to a DOF limitation.

image

How can we solve this issue? Modifying the scene or make the robot move to a better position to pick products in this situation

rssouza commented 6 years ago

@jramadeu on the previous scene (with the youBot) we would move the robot`s base to a better pose to pick up the object. As such, the arm movement would be the same, regardless of the object, but for each type we would have a specific pose for the pick operation.

jramadeu commented 6 years ago

the arm movement would be the same, regardless of the object

Sometimes I fell like moveit it's a overkill for our scenario

KRaizer commented 6 years ago

the arm movement would be the same, regardless of the object

Sometimes I fell like moveit it's a overkill for our scenario

For our toy problem scenario that is probably the case. But since we are striving at having something as generic as possible that can be applied to other scenarios, having it working seems good investment.

KRaizer commented 6 years ago

@jramadeu , I just made a bunch of modifications to the scene and its scripts. They are at branch make_product_pickable

Major changes:

Still have a few things to do in it, but I believe they help with making the pick operation more stable and reliable.

Let's take a look at it together this week.

KRaizer commented 6 years ago

Hi @jramadeu , I've fixed the issue with products being created at the wrong position. Also, I've changed joint5 from revolution to prismatic as requested. Please see if it is working there for you.

jramadeu commented 5 years ago

Worked like a charm! Thanks Klaus.

The changes done here were merged into #116.

I'm closing this.