https://github.com/mrl-amrl/amrl-xbox-controller
Rumble Effect for Xbox360 Pad
https://github.com/mrl-amrl/amrl-xbox-controller
Last synced: 4 months ago
JSON representation
Rumble Effect for Xbox360 Pad
- Host: GitHub
- URL: https://github.com/mrl-amrl/amrl-xbox-controller
- Owner: mrl-amrl
- License: mit
- Created: 2020-01-22T07:41:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-27T08:43:56.000Z (over 5 years ago)
- Last Synced: 2025-01-11T09:33:04.415Z (5 months ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Rumble Effect for Xbox360
#### Installation
```bash
$ cd catkin_ws/src
$ git clone https://github.com/mrl-amrl/xbox-controller
$ cd catkin_ws
$ catkin_make
```#### Usage
**Note**: Make sure your `/dev/input/eventX` has permission to access. You can do it with `udev` or `chmod`.
List of devices available in your system:
```bash
$ rosrun xbox_controller get_devices
```ROS node with service handler:
```bash
$ rosrun xbox_controller controller
```You can also set `device` parameter in your launch file. If `device` parameter not exists in your ROS parameters, controller node will scan your devices and choose one of your Xbox events as default parameter.
```bash
$ rosservice call /xbox_controller/rumble "duration: 500"
```