I have done a search of the forums and see that several people have asked questions similar to mine, but I didn't see any satisfying answers. I figure I will ask my basic question, then lay out everything I have so that if my basic question is stupid or easily answered you don't have to waste time reading a wall of text.
Question: Is there an existing public Library that allows simultaneous, proportional, bi-directional control of 2 stepper motors using the inputs from the analog sticks of a PS3 controller? I want the left stick's Y movement only to control one motor and the X movement of the right stick to control the other motor. I understand one stick could give the right information but having 2 separate sticks would work better for my application. Any help would be awesome because I have almost no clue what I'm doing.
I have my this USB Host Shield http://tinyurl.com/ol773aq up and running on an Arduino Uno, which is hooked up to this driver Amazon.com and that is driving this stepper Amazon.com I have gotten it to move using the AccelStepper Library AccelStepper: AccelStepper library for Arduino by uploading the Constant Speed Sketch example. Getting different RPMs by changing the step values. Thats cool.
I have gotten that same Arduino Uno with the USB Host Shield to recognize and synch with a PS3 controller using this Library http://tinyurl.com/k2262r7 using the PS3BT Example Sketch. Also cool. I understnad there is a 2.0 version of the library but I run into an issue that when I run the PS3BT example sketch for that lib I get "no matching function for call to 'PS3BT::getAnalogButton(Button)' " error and since I can get the older one to work I'm going with that.
I realize I'm not so clever that I'm the only one who has wanted to do what I am doing and I also realize that pretty much everyone else in the world could write better sketches than I could. I figure there is no reason for me to reinvent the wheel and come up with a much worse wheel if someone already has the library I am looking for built.
I did read that the step command was a blocking command so that true simultaneous control of 2 separate motors isn't possible but that interlacing the commands would make it seem simultaneous. I'm cool with that, but I do want to make these steppers move pretty fast (1500 RPM or so) I'm not sure if this is a deal breaker or not.
I originally had 2 Unos connected by 2 Xbees on the Wireless Proto Shield Amazon.com but apparently there is some pin conflicts so I had to ditch them and just use the USB and Bluetooth dongle. No biggie since the BT should give me the range I need for my project. But if anyone has any suggestions I'd love to hear them.