https://github.com/shadow-robot/ethercat_grant
Fork of pr2-grant to make it possible to run the ros_ethercat_loop without being root.
https://github.com/shadow-robot/ethercat_grant
Last synced: 5 months ago
JSON representation
Fork of pr2-grant to make it possible to run the ros_ethercat_loop without being root.
- Host: GitHub
- URL: https://github.com/shadow-robot/ethercat_grant
- Owner: shadow-robot
- License: bsd-3-clause
- Created: 2014-09-04T07:46:04.000Z (almost 12 years ago)
- Default Branch: noetic-devel
- Last Pushed: 2022-06-07T14:52:25.000Z (about 4 years ago)
- Last Synced: 2023-03-12T01:41:49.817Z (over 3 years ago)
- Language: C++
- Size: 23.4 KB
- Stars: 6
- Watchers: 10
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# ethercat_grant
This is a repo for the pr2-grant utility. It makes it possible to run the *ros_ethercat_loop* without requiring root privileges.
## Installation
If you installed this package from *apt-get* then you're good to go. (This is definitely the recommended way)
If you compiled this package from source, then you'll need to copy the resulting `ethercat_grant` executable to `/usr/local/bin` and add the sticky bit to it: `sudo chmod +s /usr/local/bin/ethercat_grant`.
## Use
Using ethercat_grant makes it possible to not use *sudo* anymore for running the ethercat main loop. Just use `launch-prefix="ethercat_grant"` in your launch files for the *ros_ethercat_loop*.
## When releasing this package (developers only)
If we change the `scripts/postinst` post installation script, it has to be manually copied, commited and pushed to the branch with name `debian/ROS_DISTRO/ethercat_grant` inside the debian directory (where ROS_DISTRO is one of melodic, noetic...)
e.g. https://github.com/shadow-robot/ethercat_grant-release/tree/debian/noetic/ethercat_grant/debian
See http://answers.ros.org/question/191779/add-postinstall-rule-for-deb-package-creation/