Home

Awesome

abb_libegm

Build Status: Ubuntu Bionic (Actions) Build Status: Ubuntu Focal (Actions) Github Issues

license - bsd 3 clause

support level: community

Important Notes

RobotWare versions less than 6.07.01 are now incompatible with abb_libegm (due to changes in the EGM communication protocol).

Pull request abb_libegm#63 turned this package from a Catkin package into a plain CMake package. ROS users may use any of the following build tools to build the library:

Overview

A C++ library for interfacing with ABB robot controllers supporting Externally Guided Motion (EGM). See the Application manual - Externally Guided Motion (document ID: 3HAC073319-001, revision: B) for a detailed description of what EGM is and how to use it.

Please note that this package has not been productized, it is provided "as-is" and only limited support can be expected.

Sketch

The following is a conceptual sketch of how this EGM library can be viewed, in relation to an ABB robot controller as well as the RWS companion library mentioned above. The optional StateMachine Add-In is related to the robot controller's RAPID program and system configuration.

EGM sketch

Requirements

Dependencies

Limitations

This library is intended to be used with the UDP variant of EGM, and it supports the following EGM modes:

Recommendations

Usage Hints

This is a generic library, which can be used together with any RAPID program that is using the RAPID EGMRunJoint and/or EGMRunPose instructions, and system configuration. The library's primary classes are:

The optional StateMachine Add-In for RobotWare can be used in combination with any of the classes above.

StateMachine Add-In [Optional]

The purpose of the RobotWare Add-In is to ease the setup of ABB robot controllers. It is made for both real controllers and virtual controllers (simulated in RobotStudio). If the Add-In is selected during a RobotWare system installation, then the Add-In will load several RAPID modules and system configurations based on the system specifications (e.g. number of robots and present options).

The RAPID modules and configurations constitute a customizable, but ready to run, RAPID program which contains a state machine implementation. Each motion task in the robot system receives its own state machine instance, and the intention is to use this in combination with external systems that require interaction with the robot(s). The following is a conceptual sketch of the RAPID program's execution flow.

<p align="center"> <img src="docs/images/statemachine_addin_sketch.png" width="500"> </p>

To install the Add-In:

  1. Go to the Add-Ins tab in RobotStudio.
  2. Search for StateMachine Add-In in the RobotApps window.
  3. Select the desired Add-In version and retrieve it by pressing the Add button.
  4. Verify that the Add-In was added to the list Installed Packages.
  5. The Add-In should appear as an option during the installation of a RobotWare system.

See the Add-In's user manual (1.0 or 1.1) for more details, as well as for install instructions for RobotWare systems. The manual can also be accessed by right-clicking on the Add-In in the Installed Packages list and selecting Documentation.

Notes

If the EGM option is selected during system installation, then the Add-In will load RAPID code for using EGMRunJoint and EGMRunPose RAPID instructions. System configurations will also be loaded, and it is important to update the robot controller's EGM configurations. Especially the Remote Address and Remote Port Number configurations, under the Transmission Protocol topic, are vital to edit so that the robot controller will send EGM messages to the correct host address. This configuration can be found in RobotStudio -> Controller tab -> Configuration -> Communication -> Transmission Protocol -> Edit each ROB_X instance. There will be one instance for each robot in the system.

The RWS companion library contains a class specifically designed to interact with the StateMachine Add-In. It allows for example to control the RAPID program by starting and stopping EGM communication sessions.

Acknowledgements

The core development has been supported by the European Union's Horizon 2020 project SYMBIO-TIC. The SYMBIO-TIC project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement no. 637107.

<img src="docs/images/symbio_tic_logo.png" width="250">

The open-source process has been supported by the European Union's Horizon 2020 project ROSIN. The ROSIN project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement no. 732287.

<img src="docs/images/rosin_logo.png" width="250">

The opinions expressed reflects only the author's view and reflects in no way the European Commission's opinions. The European Commission is not responsible for any use that may be made of the contained information.

Special Thanks

Special thanks to gavanderhoorn for guidance with open-source practices and ROS-Industrial conventions.