OrebroUniversity / yumi

ROS packages pertaining to the ABB YuMi (IRB 14000) robot
BSD 2-Clause "Simplified" License
67 stars 88 forks source link

Support for lead-through mode #27

Closed lz89 closed 6 years ago

lz89 commented 6 years ago

Hi,

I wonder if there is a way to enable lead-through mode while the ROS server is running. Therefore, the ROS side can read robot's joint positions without sending command to the robot. This is particular useful for demonstration as well as hand-eye calibration.

tstoyanov commented 6 years ago

As far as I know, the answer is no...

YoshuaNava commented 6 years ago

@lz89 We have been able to do this, thanks to @diogoalmeida.

So, what you should do is:

  1. Put the robot in AUTO mode, with motors turned ON.
  2. Run the RWS/EGM nodes on your computer.
  3. Once the robot starts (the brakes usually make a "click" sound when this happens), change from AUTO to MANUAL mode in the FlexPendant.
  4. On the FlexPendant, open the main menu, Jogging. Then, for each arm touch the option "Enable Lead Through"

If everything went well, you should be able to move YuMi's arms without the RWS/EGM connection being lost. Hence, all the joint states should be recordable.

NOTE: Be very careful when you enable lead through. If your robot is carrying any object, its arms will fall. Also, don't move the arms too fast, or you'll get Motion supervision triggered.

Please let me know if this helps,

Yoshua

diogoalmeida commented 6 years ago

Just note that this is a workaround and not a solution to the problem, and that it works sometimes.