Kuka - penn-figueroa-lab/lab_wiki GitHub Wiki
Code to use: https://github.com/penn-figueroa-lab/iiwa_ros
Private KUKA-FRI: https://github.com/penn-figueroa-lab/kuka_fri
Update with any crucial instruction and changes...
TODO: Install KUKA Sunrise Workbench software and upload new control application to control box.
For setting up IP address, refer to the diagram in this issue
Basic Usage:
Make sure the KUKA-FRI is installed properly on the SmartPad.
- Turn on the controller box (with the green switch)
- Activate
AUT
mode (turn the key right, select AUT, turn the key left) - In the Application tab, select
FRIOverlay
catkin build
source devel/setup.bash
- Within ten seconds, perform the next two steps
a.roslaunch iiwa_driver iiwa_bringup.launch
b. Press thePlay
button on the SmartPad - Select the control mode (Hold the robot first if you are planning to use the torque mode, it will drop)
Safety Notice:
Position Referencing
It happens often to iiwa 14. If you see a yellow light on the safety tab, and it says "axis position not referencing", etc., do the following steps to calibrate:
- Activate
AUT
mode (turn the key right, select AUT, turn the key left) - In the Application tab, select
PositionAndGMSReferencing
- Press the
Play
button on the SmartPad - Let the robot runs by itself for a while until it reaches the straight up home position
Recovery from Joint/Safety Limits
If the robot reaches the joint limits or safety limits, do the following steps to recover:
- Activate
KRF
mode (turn the key right, select KRF, turn the key left) - Hold the enabling switch and manually control the joint back to normal position
- Activate back to the original mode
KRC Recovery
Sometimes, the robot could enter serious software errors that cannot be recovered easily. One option to fix this is to reinstall a clean OS for the controller box (warning: this will remove everything installed on the controller box).
The steps are generally the same for iiwa7 and iiwa14 (with different versions for the software):
- Get the KUKA recovery USB 4.0 (it is stored in the KUKA package box in the lab)
- Download the recovery images on Google Drive (please ask for access about this)
- Place the recovery images in the KUKA recovery USB Image folder
- Configure the recovery USB by running the recovery.exe
- Set to "silent" mode for the recovery
- Choose the Restore option
- Specify the image name (e.g. ImageC.wim (Do not change (Just have ImageC.wim))
- Save the configuration
- Plug the recovery USB into the controller box
- Start the controller box, it should boot with the recovery USB
- After finishing, you will get a barebone SunriseOS.basisImage. You will need to install the software with the Sunrise Workbench software (1.11 for iiwa7 and 1.17 for iiwa14).
- Done