Repository: ros-industrial/abb_experimental Branch: kinetic-devel Commit: 29c35a63d6e2 Files: 8 Total size: 24.0 KB Directory structure: gitextract_2onpvnw4/ ├── .github/ │ └── workflows/ │ ├── ci_bionic.yml │ └── ci_focal.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md └── abb_experimental/ ├── CMakeLists.txt └── package.xml ================================================ FILE CONTENTS ================================================ ================================================ FILE: .github/workflows/ci_bionic.yml ================================================ name: CI - Ubuntu Bionic on: # direct pushes to protected branches are not supported pull_request: # run every day, at 8am UTC schedule: - cron: '0 8 * * *' # allow manually starting this workflow workflow_dispatch: jobs: industrial_ci: name: ROS Melodic (${{ matrix.ros_repo }}) runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: ros_distro: [ melodic ] ros_repo: [ main, testing ] env: CCACHE_DIR: "${{ github.workspace }}/.ccache" UPSTREAM_WORKSPACE: 'github:ros-industrial/abb#kinetic-devel' steps: - name: Fetch repository uses: actions/checkout@v3 - name: ccache cache uses: actions/cache@v3 with: path: ${{ env.CCACHE_DIR }} # we always want the ccache cache to be persisted, as we cannot easily # determine whether dependencies have changed, and ccache will manage # updating the cache for us. Adding 'run_id' to the key will force an # upload at the end of the job. key: ccache-${{ matrix.ros_distro }}-${{ matrix.ros_repo }}-${{github.run_id}} restore-keys: | ccache-${{ matrix.ros_distro }}-${{ matrix.ros_repo }} - name: Run industrial_ci uses: ros-industrial/industrial_ci@master env: ROS_DISTRO: ${{ matrix.ros_distro }} ROS_REPO: ${{ matrix.ros_repo }} ================================================ FILE: .github/workflows/ci_focal.yml ================================================ name: CI - Ubuntu Focal on: # direct pushes to protected branches are not supported pull_request: # run every day, at 8am UTC schedule: - cron: '0 8 * * *' # allow manually starting this workflow workflow_dispatch: jobs: industrial_ci: name: ROS Noetic (${{ matrix.ros_repo }}) runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: ros_distro: [ noetic ] ros_repo: [ main, testing ] env: CCACHE_DIR: "${{ github.workspace }}/.ccache" # using both abb as well as abb_driver from source as: # # - experimental repositories may always depend on unreleased changes # in the non-experimental repository, and # - industrial_core has recently been updated and only melodic-devel of # abb_driver is compatible with those changes # UPSTREAM_WORKSPACE: 'github:ros-industrial/abb#kinetic-devel github:ros-industrial/abb_driver#melodic-devel' steps: - name: Fetch repository uses: actions/checkout@v3 - name: ccache cache uses: actions/cache@v3 with: path: ${{ env.CCACHE_DIR }} # we always want the ccache cache to be persisted, as we cannot easily # determine whether dependencies have changed, and ccache will manage # updating the cache for us. Adding 'run_id' to the key will force an # upload at the end of the job. key: ccache-${{ matrix.ros_distro }}-${{ matrix.ros_repo }}-${{github.run_id}} restore-keys: | ccache-${{ matrix.ros_distro }}-${{ matrix.ros_repo }} - name: Run industrial_ci uses: ros-industrial/industrial_ci@master env: ROS_DISTRO: ${{ matrix.ros_distro }} ROS_REPO: ${{ matrix.ros_repo }} ================================================ FILE: .gitignore ================================================ # Compiled Object files *.slo *.lo *.o # Compiled Dynamic libraries *.so *.dylib # Compiled Static libraries *.lai *.la *.a # Temp files *~ *.autosave ================================================ FILE: CONTRIBUTING.md ================================================ ROS-Industrial is a community project. We welcome contributions from any source, from those who are extremely active to casual users. The following sections outline the steps on how to contribute to ROS-Industrial. It assumes there is an existing repository to which one would like to contribute (item 1 in the figure above) and one is familiar with the Git "Fork and Branch" workflow, detailed [here](http://blog.scottlowe.org/2015/01/27/using-fork-branch-git-workflow/). 1. Before any development is undertaken, a contributor would communicate a need and/or issue to the ROS-Industrial community. This can be done by submitting an issue on the appropriate GitHub repo, the [issues repo](https://github.com/ros-industrial/ros_industrial_issues), or by posting a message in the [ROS-Industrial category on ROS Discourse](//swri-ros-pkg-dev@googlegroups.com). . Doing so may save you time if similar development is underway and ensure that whatever approach you take is acceptable to the community of reviewers once it is submitted. 2. The second step (item 2) is to implement your change. If you are working on a code contribution, we highly recommend you utilize the [ROS Qt-Creator Plug-in](http://rosindustrial.org/news/2016/6/9/ros-qt-ide-plugin). Verify that your change successfully builds and passes all tests. 3. Next, push your changes to a "feature" branch in your personal fork of the repo and issue a pull request (PR)(item 3). The PR allows maintainers to review the submitted code. Before the PR can be accepted, the maintainer and contributor must agree that the contribution is implemented appropriately. This process can take several back-and-forth steps (see [example](https://github.com/ros-industrial/motoman/pull/89)). Contributors should expect to spend as much time reviewing/changing the code as on the initial implementation. This time can be minimized by communicating with the ROS-Industrial community before any contribution is made. 4. Issuing a Pull Request (PR) triggers the [Travis Continuous Integrations (CI)](https://github.com/ros-industrial/industrial_ci) step (item 4) which happens automatically in the background. The Travis CI performs several operations, and if any of the steps below fail, then the PR is marked accordingly for the maintainer. * Travis Workflow: * Installs a barebones ROS distribution on a fresh Ubuntu virtual machine. * Creates a catkin workspace and puts the repository in it. * Uses wstool to check out any from-source dependencies (i.e. other repositories). * Resolves package dependencies using rosdep (i.e. install packages using apt-get). * Compiles the catkin workspace. * Runs all available unit tests. 5. If the PR passes Travis CI and one of the maintainers is satisfied with the changes, they post a +1 as a comment on the PR (item 5). The +1 signifies that the PR is ready to be merged. All PRs require at least one +1 and pass Travis CI before it can be merged. 6. The next step (item 6) is for the PR to be merged into the main branch. This is done through the GitHub web interface by selecting the “Merge pull request” button. After the PR is merged, all status badges are updated automatically. 7. Periodically, the maintainer will release the package (item 7), which then gets sent to the [ROS Build Farm](http://wiki.ros.org/build.ros.org) for Debian creation. 8. The publishing of the released packages (item 8) is managed by OSRF and is not on a set schedule. This usually happens when all packages for a given distro are built successfully and stable. The current status for the distro kinetic can be found [here](http://repositories.ros.org/status_page/ros_kinetic_default.html) . Navigating to other distros can be done by changing the distro name in the link. 9. Once the package has been published, it is available to be installed by the developer (item 9). 10. After the install of a new version, the developer may have questions, experience issues or it may not have the necessary functionality which should all be reported on the packages GitHub repository as an issue (item 10). If an issue is identified or there is missing functionality that the developer requires, the cycle starts back at (item 2). For more details, please refer to the [ROS-I wiki](http://wiki.ros.org/Industrial/DevProcess). ## Licensing Any contribution that you make to this repository will be under the Apache 2 License, as dictated by that [license](http://www.apache.org/licenses/LICENSE-2.0.html): ~~~ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. ~~~ ================================================ FILE: LICENSE ================================================ Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ================================================ FILE: README.md ================================================ # ABB Experimental [![Build Status: Ubuntu Focal (Actions)](https://github.com/ros-industrial/abb_experimental/workflows/CI%20-%20Ubuntu%20Focal/badge.svg?branch=kinetic-devel)](https://github.com/ros-industrial/abb_experimental/actions?query=workflow%3A%22CI+-+Ubuntu+Focal%22) [![Github Issues](https://img.shields.io/github/issues/ros-industrial/abb_experimental.svg)](http://github.com/ros-industrial/abb_experimental/issues) [![license - apache 2.0](https://img.shields.io/:license-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0) [![license - bsd 3 clause](https://img.shields.io/:license-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) [![support level: community](https://img.shields.io/badge/support%20level-community-lightgray.svg)](http://rosindustrial.org/news/2016/10/7/better-supporting-a-growing-ros-industrial-software-platform) [ROS-Industrial][] ABB experimental meta-package. See the [ROS wiki][] page for more information. ## Contents This repository contains packages that will be migrated to the [abb][] repository after they have received sufficient testing. The contents of these packages are subject to change, without prior notice. Any available APIs are to be considered unstable and are not guaranteed to be complete and / or functional. Branch naming follows the ROS distribution they are compatible with. `-devel` branches may be unstable. ## Naming Convention All robot support packages and MoveIt configurations follow the naming conventions as described in [REP-I0007][]. ## Installation As this repository contains experimental packages, no binary packages are available. Instead, follow the instructions to build them in a Catkin workspace shown in the next section. ## Building ### On newer (or older) versions of ROS Building the packages on newer (or older) versions of ROS is in most cases possible and supported. For example: building the packages in this repository on Ubuntu Xenial/ROS Kinetic or Ubuntu Bionic/ROS Melodic systems is supported. This will require creating a Catkin workspace, cloning this repository, installing all required dependencies and finally building the workspace. ### Catkin tools It is recommended to use [catkin_tools][] instead of the default [catkin][] when building ROS workspaces. `catkin_tools` provides a number of benefits over regular `catkin_make` and will be used in the instructions below. All packages can be built using `catkin_make` however: use `catkin_make` in place of `catkin build` where appropriate. ### Building the packages The following instructions assume that a [Catkin workspace][] has been created at `$HOME/catkin_ws` and that the *source space* is at `$HOME/catkin_ws/src`. Update paths appropriately if they are different on the build machine. These instructions build the `kinetic-devel` branch on a ROS Kinetic system: ```bash # change to the root of the Catkin workspace $ cd $HOME/catkin_ws # retrieve the latest development version of the abb repository. If you'd rather # use the latest released version, replace 'kinetic-devel' with 'kinetic' $ git clone -b kinetic-devel https://github.com/ros-industrial/abb.git src/abb # retrieve the latest development version of abb_experimental $ git clone -b kinetic-devel https://github.com/ros-industrial/abb_experimental.git src/abb_experimental # check build dependencies. Note: this may install additional packages, # depending on the software installed on the machine $ rosdep update # be sure to change 'kinetic' to whichever ROS release you are using $ rosdep install --from-paths src/ --ignore-src --rosdistro kinetic # build the workspace (using catkin_tools) $ catkin build ``` ### Activating the workspace Finally, activate the workspace to get access to the packages just built: ```bash $ source $HOME/catkin_ws/devel/setup.bash ``` At this point all packages should be usable (ie: `roslaunch` should be able to auto-complete package names starting with `abb_..`). In case the workspace contains additional packages (ie: not from this repository), those should also still be available. ## Installation and usage Refer to [Working With ROS-Industrial Robot Support Packages][] for information on how to use the files provided by the robot support and MoveIt configuration packages. See also the other pages on the [ROS wiki][]. Refer to the [tutorials][] for information on installation and configuration of the controller-specific software components. [ROS-Industrial]: http://wiki.ros.org/Industrial [ROS wiki]: http://wiki.ros.org/abb_experimental [abb]: https://github.com/ros-industrial/abb [REP-I0007]: https://github.com/ros-industrial/rep/blob/master/rep-I0007.rst [Catkin workspace]: http://wiki.ros.org/catkin/Tutorials/create_a_workspace [catkin]: http://wiki.ros.org/catkin [catkin_tools]: https://catkin-tools.readthedocs.io/en/latest [Working With ROS-Industrial Robot Support Packages]: http://wiki.ros.org/Industrial/Tutorials/WorkingWithRosIndustrialRobotSupportPackages [tutorials]: http://wiki.ros.org/abb/Tutorials ================================================ FILE: abb_experimental/CMakeLists.txt ================================================ cmake_minimum_required(VERSION 3.0.2) project(abb_experimental) find_package(catkin REQUIRED) catkin_metapackage() ================================================ FILE: abb_experimental/package.xml ================================================ abb_experimental 0.1.0 Experimental packages for ABB manipulators within ROS-Industrial. Shaun Edwards Levi Armstrong (Southwest Research Institute) BSD http://wiki.ros.org/abb_experimental https://github.com/ros-industrial/abb_experimental/issues https://github.com/ros-industrial/abb_experimental catkin