Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Microservice to interface with a PS3 controller for OpenDLV.

License

Notifications You must be signed in to change notification settings

chalmers-revere/opendlv-device-ps3controller

Repository files navigation

Moved to https://git.opendlv.org.

OpenDLV Microservice to interface with a PS3 controller

This repository provides source code to interface with a PS3 controller to broadcast ActuationRequest messages.

Build Status License: GPLv3

Table of Contents

Dependencies

You need a C++14-compliant compiler to compile this project. The following dependency is shipped as part of the source distribution:

Usage

This microservice is created automatically on changes to this repository via Docker's public registry for:

To run this microservice using our pre-built Docker multi-arch images to open a Video4Linux-supported camera, simply start it as follows:

docker run --rm -ti --init --net=host --device /dev/input/js0 chalmersrevere/opendlv-device-ps3controller-multi:v0.0.7 --device=/dev/input/js0 --freq=100 --acc_min=0 --acc_max=50 --dec_min=0 --dec_max=-10 --steering_min=-10 --steering_max=10 --cid=111 --verbose

Build from sources on the example of Ubuntu 16.04 LTS

To build this software, you need cmake, C++14 or newer, libx11-dev, and make. Having these preconditions, just run cmake and make as follows:

mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release ..
make && make test && make install

License

  • This project is released under the terms of the GNU GPLv3 License