View Single Post
  #9   Spotlight this post!  
Unread 01-30-2011, 08:00 PM
Shantali Shantali is offline
Registered User
FRC #3609
 
Join Date: Jan 2011
Location: Maine, US
Posts: 9
Shantali is an unknown quantity at this point
Re: Single Joystick Tank Drive

Thanks for the responses!

I got it working with
Code:
m_robotDrive.arcadeDrive(m_driveStick.getY(), m_driveStick.getX());
It does everything as intended, but there's something i'd like to change.

Right now it goes forward, back, turns on the spot and strafes forward perfectly.

But if trying to pull the joystick back-left, the left motor is working 100% backwards, which essentially moves the robot's back to the right. If pulling back-right, the right motor is working 100% backwards, which moves the robot back to the left. Intuitively when trying to do that, you'd expect it to work like a car would, turning left would make the back go left..

I would like to change that so drivers could have it more intuitively.

I will post when/if I figure it out. Again, thanks everyone for taking the time.

J
Reply With Quote