Home

Awesome

iiwaPy

A python library to control KUKA iiwa robots, the 7R800 and the 14R820, from an external computer using python 2.7.

Using the iiwaPy the utilizer can control the iiwa robot from his/her computer without a need for programming the industrial manipulator.

A basic knowledge of using python is required.


Required packages

The iiwaPy is a Python wrapper for the KUKA sunrise toolbox, found in here. To utilize the iiwaPy, you have to install the KST Sunrise Server Application, click here into the Kuka iiwa controller.


Video tutorials

Video tutorials on controlling IIWA from python are available in here.


To test the iiwaPy

To test the iiwaPy follow the steps:

On PC side:

1- Establish a peer to peer connection between the PC and the robot, described in videos 1 and 2 of the play list;

2- Synchronise the KST Sunrise Server Application into the robot controller;

On the robot side:

1- Run the application "MatlabToolboxServer" from the smartPad of the robot.

2- You have 60 seconds to connect from the Python script before the server is shut down automatically.

From Python on your PC

From inside python IDE run the tutorial script Tutorial_getters, available here, you shall see data acquired from the robot controller printed inside python console.

Citation

Please cite the following article in your publications if it helps your research 🙏 :

@article{doi:10.1080/0951192X.2023.2177744,
author = {M. Safeea and P. Neto},
title = {Model-based hardware in the loop control of collaborative robots: Simulink and Python based interfaces},
journal = {International Journal of Computer Integrated Manufacturing},
volume = {0},
number = {0},
pages = {1-13},
year  = {2023},
publisher = {Taylor & Francis},
doi = {10.1080/0951192X.2023.2177744},
}

Copyright: Mohammad Safeea, first commit 8th-April-2019