-
Notifications
You must be signed in to change notification settings - Fork 38
Live robot
- Starting the RAPID scripts (IMPORTANT)
- Real robot nodes
- Other relevant information
Everytime you power on the YuMi, or you close the YuMi ROS nodes running on your PC, you need to run the RAPID scripts again (they are Normal tasks inside the IRC5 controller due to safety reasons).
To do that, press the following physical buttons on the FlexPendant:
-
Toggle the Motors On on the FlexPendant by pressing the upper-right corner button that has three horizontal lines.
-
Toggle the Auto mode on the FlexPendant by pressing the upper-right corner button that has two horizontal lines.
-
Move all the program pointers of the RAPID routines to main(), by pressing the upper-right corner button that has one centered horizontal line.
-
Press the Play button located in the bottom-right corner.
You should see and hear the grippers performing three movements: a full opening, a full closing, and then opening again up to 10cm. This is the grippers calibration sequence, and it is advisable to wait for it to finish before running the YuMi ROS nodes.
Depending on the type of interface installed on YuMi you have to run a different type of node, specified below.
This interface allows position control of the joints by means of trajectory position controllers.
roslaunch yumi_support robot_interface.launch
Note: additional to this, the parameters MAX_NUM_JOINTS
of industrial_core/simple_message/include/simple_message/joint_data.h
must have a value of 10
.
Important: Make sure that you have followed the steps described in Network setup
The EGM interface allows direct velocity control of the joints. You can use velocity controllers of any type, including those that translate position references to velocity references. By default, trajectory velocity and joint velocity controllers can be loaded with our launchfiles.
roslaunch yumi_launch yumi_traj_vel_control.launch
roslaunch yumi_launch yumi_vel_control.launch
Note: additional to this, the parameters MAX_NUM_JOINTS
of industrial_core/simple_message/include/simple_message/joint_data.h
must have a value of 20
. This is already done if you clone the OrebroUniversity fork of industrial_core.