An open API service indexing awesome lists of open source software.

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

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"
```