View Single Post
  #5   Spotlight this post!  
Unread 02-02-2013, 15:36
Gmercer Gmercer is offline
Registered User
None #1631
 
Join Date: Jan 2013
Location: Las Vegas
Posts: 15
Gmercer is an unknown quantity at this point
Re: Programming an arcade drive for joysicks

It includes a sample project on how to pick up reflective tape and aim, but nothing on the arcadeDrive object


EDIT: got it working! thanks for the help, though i came across another problem when i got the arcade drive working....
I had to remove my calls to the jaguars to initialize the arcade drive object, so i need to also modify my shoot function. it WAS like this:

Code:
if(gShoot.getAngle < finalAngle) {
    //slowly turns motors until angle is reached
    jag1.set(.15);
    jag2.set(.15);
    jag3.set(.15);
    jag4.set(.15);
}
i tried using arcadeDrive(0.0, .15) but the robot just stood still, should i use the drive functin instead?
//function goes on...

Last edited by Gmercer : 02-02-2013 at 16:12.
Reply With Quote