Modules
Joystick-linux
UJoystick remote UObject (linux)
- Description
This UObject give access to your Joystick under the urbi environment.
- What is in this tarball
- ujoystick : the binary remote UOBject to connect to your urbi-server. - readme : this file. - profiles/joy.u : entry point for joystick, create device, include other files. - profiles/joy.calib.u : file to enable calibration of joystick. - profiles/joy.control.u : example of use of the joystick. - src/joystick.cc : source code. - src/buildme : makefile for compilation of the ujoystick. - ChangeLog : history.
- Requirement:
- libjsw, joystick library (install package "libjsw2" by apt-get, synaptique ...) - you need to have the right to access /dev/input/js0 (chmod, chown, chgrp...) - one Urbi 1.5 engine (aibo, bioloid, iCreate, NXT, ...) ;-)
- How to use this UObject
When launching the server, give path to the joy*.u files as param for it. Or copy files to path of the Urbi-server.
//create the device joy = new Joystick("/dev/input/js0");
//give ability to calibrate your joystick, see this file for detail load("joy.calib.u");
- Downloads joystick-linux.tgz
- TODO
- Support Force Feedback :-)