View Single Post
  #6   Spotlight this post!  
Unread 02-02-2013, 17:46
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Programming an arcade drive for joysicks

Quote:
Originally Posted by Gmercer View Post
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...
use

arcadeDrive(0,0.15)

though 0.15 is hardly ANYTHING, i cant get my robot to move (due to jaguars not putting enough force) without a 0.25 move
Reply With Quote