daudet / seng466-2011-hovercraft

Automatically exported from code.google.com/p/seng466-2011-hovercraft
0 stars 0 forks source link

software motor improvments #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need to develop code to drive motors.
one joystick will use Y axis to drive the middle motor for translation
the other joystick will use Y axis to translate motors Ypwm1=Ypwm2, then the X 
axis to rotate Xpwm1=-Xpwm2. Then these need to be combined to do both. I think 
it would be Xpwm1+Ypwm1/2 for one motor, and Xpwm2-Ypwm2/2 for the other. 

We also need to reverse the logic of the mega lift motors. Eliminate the max 
value because max value will likely be 100%. We want to switch it to toggle 
mode too, as opposed to using two buttons.

We need to pass more joystick values than before. etc.

Original issue reported on code.google.com by Craig.Ir...@gmail.com on 25 Mar 2011 at 5:29