Go to Post Does this need a "Do not try this at home" stamp? - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 11-02-2012, 19:49
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Programming or Electrical?

From what you describe, I'm inclined to settle on a coding issue. To conclusively determine whether it is, I suggest uploading skeleton code (my choice of preference would be tank drive) and comparing it with joystick input to see how it responds. If wheels turn forward and backward in response to forward and backward joystick motion, then you know it's a code problem.

If that isn't the case, however, I would suggest checking the neutral on your joysticks. An inconsistent neutral could possibly produce the symptoms you're observing (I know we've had problems with Logitech gamepads in this area before).

Quote:
Originally Posted by rsegrest View Post
Slow reverse - one set of wheels spins forward [light on jag indicates forward code (light is green)] and one set spins backwards (light is red)
Full-speed reverse - both sets spin backwards
One side of your drive should be green and the other side red when going backwards. The reason is the change in orientation of the motors; telling two motors to go forward will always turn their shafts in the same direction with respect to the output face, but not necessarily the same direction with respect to the frame due to changes in orientation. As such, full-speed reverse should turn one side of your drive green and the other red, but one side going forwards and the other backwards should be indicated by one consistent color (either all green or all red).

Just for clarification, I assume driving forward slowly and slamming the joysticks forward produce the appropriate responses?
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:17.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi