Hi,
This must be morphological resonance or something.
I just finished a small lib of force feedback externals for linux. They are still a bit unstable, but so is the kernel api :)
I need to set up some web space for this. Next week I will have time.
Right now I am using them for a performance this wednesday in Rotterdam, Netherlands. A complex patternsequencer type patch controlled by a midi faderbox and a ff-joystick that shakes and pushes with every drum hit.
Basically you can upload a number of effects to the device and then play / change them. The externals I have are: ff-constant, a constant force in a given direction and a duration. Nice for drum hits ff-periodic, a shaking effect, different waveform, in different directions. ff-spring, makes the stick behave as if there are springs in x and y directions. You can also set a center and a deadband. Nice for controlling a filter with a specific resonant spot.
ff-friction, programmed but untested. and general ff-gain and ff-autocenter controls. It is a lot of fun.
You need to patch the kernel (although I think it is standard in the 2.5 series now) I needed to mess with the driver anyway because my "iforce compatible" joystick was not. At least for the linux iforce module. It is all a bit tricky to set up.
Anyway I am swamped with work until after thursday. Then I will clean everything up and make them available.
regards
Gerard
Message: 6 Date: Thu, 27 Feb 2003 12:33:33 -0500 From: Hans-Christoph Steiner hans@eds.org To: pd-list@iem.kug.ac.at Subject: [PD] Force Feedback Joysticks
I was wondering whether anyone here has worked with force feedback joysticks. Specifically any of the Immersion-based ones. Their SDK runs on Windows and they just released it for MacOS X in 10.2.3. I want to use these with pd. They are USB joysticks, and they do work under linux with the linux joystick drivers but since the SDK is closed source and they have released a linux version, you can't use the force feedback under linux, but 'iFeel' vibration stuff has been ported.
I just got my joystick in today, and I have just started looking at the SDK...
.hc
Hallo, vanDongen-Gilcher hat gesagt: // vanDongen-Gilcher wrote:
I just finished a small lib of force feedback externals for linux. They are still a bit unstable, but so is the kernel api :)
I need to set up some web space for this. Next week I will have time.
You can put this on pure-data.cvs.org. Either register with Guenther, or send the source to pd-dev.
But I'm wondering, if this could or should be merged with J. Sarlo's joystick external?
Frank Barknecht _ ______footils.org__
What I would really love to do is be able to control the forces and vibrations directly from PD, rather than having to load pre-built 'effects'. From what I've read, it might be possible to emulate this by dynamically switching effects, but that seems like a bit of a pain to code. I just found the linux FF API and have only started looking into it. Is there any way to directly control the forces and vibrations?
I look forward to getting your code. I have also been trying to think of a way to incorporate FF into jsarlo's joystick object, but I haven't figured that one out yet.
.hc
On Sunday, Mar 2, 2003, at 17:07 America/New_York, vanDongen-Gilcher wrote:
Hi,
This must be morphological resonance or something.
I just finished a small lib of force feedback externals for linux. They are still a bit unstable, but so is the kernel api :)
I need to set up some web space for this. Next week I will have time.
Right now I am using them for a performance this wednesday in Rotterdam, Netherlands. A complex patternsequencer type patch controlled by a midi faderbox and a ff-joystick that shakes and pushes with every drum hit.
Basically you can upload a number of effects to the device and then play / change them. The externals I have are: ff-constant, a constant force in a given direction and a duration. Nice for drum hits ff-periodic, a shaking effect, different waveform, in different directions. ff-spring, makes the stick behave as if there are springs in x and y directions. You can also set a center and a deadband. Nice for controlling a filter with a specific resonant spot.
ff-friction, programmed but untested. and general ff-gain and ff-autocenter controls. It is a lot of fun.
You need to patch the kernel (although I think it is standard in the 2.5 series now) I needed to mess with the driver anyway because my "iforce compatible" joystick was not. At least for the linux iforce module. It is all a bit tricky to set up.
Anyway I am swamped with work until after thursday. Then I will clean everything up and make them available.
regards
Gerard
Message: 6 Date: Thu, 27 Feb 2003 12:33:33 -0500 From: Hans-Christoph Steiner hans@eds.org To: pd-list@iem.kug.ac.at Subject: [PD] Force Feedback Joysticks
I was wondering whether anyone here has worked with force feedback joysticks. Specifically any of the Immersion-based ones. Their SDK runs on Windows and they just released it for MacOS X in 10.2.3. I want to use these with pd. They are USB joysticks, and they do work under linux with the linux joystick drivers but since the SDK is closed source and they have released a linux version, you can't use the force feedback under linux, but 'iFeel' vibration stuff has been ported.
I just got my joystick in today, and I have just started looking at the SDK...
.hc
The linux driver allready does this for you (partly). The thing is that a ff device is a small robot, with onboard memory and 2 motors. F.i. for periodic effects the waveform can be uploaded.
Simulated direct control of the force is easy. You upload a constant force object with infinite duration, and then change the force and the direction. With periodic effects you can change the period and the force ad the direction. You have to start and stop to change the waveform I think, although the driver may take care of this. It is a bit device dependent I think. Of course this is still not the same as directly controlling the electrical motors. But that is impossible I think, they are controlled by the electronics in the joystick, and that reacts to certain USB messages. Besides, if you want that, there are easier and cheaper ways to control electrical motors with a computer.
I will send the code to you over the weekend.
Gerard
Hans-Christoph Steiner said at "Re: Force Feedback Joysticks."r[2003/03/04 03:54]
What I would really love to do is be able to control the forces and vibrations directly from PD, rather than having to load pre-built 'effects'. From what I've read, it might be possible to emulate this by dynamically switching effects, but that seems like a bit of a pain to code. I just found the linux FF API and have only started looking into it. Is there any way to directly control the forces and vibrations?
I look forward to getting your code. I have also been trying to think of a way to incorporate FF into jsarlo's joystick object, but I haven't figured that one out yet.
.hc