Go to Post The low bar will make your electronics team cry. - Joe G. [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 08-02-2011, 12:34
indubitably's Avatar
indubitably indubitably is offline
Registered User
AKA: Ryan Guinn
FRC #2338 (Gear It Forward), FRC #1732 (Hilltoppers)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Oswego, IL
Posts: 172
indubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond reputeindubitably has a reputation beyond repute
Re: turning joystick controls 90% in programming

EDIT: I gave it more thought and your problem can be solved by inverting either your left or right motor. Do this in the begin subvi

Disreguard:
by turning 90 degrees, I would have to assume that you have the x axis and y axis switched in your program. switching the values would do nothing except reverse the controls, they would still be off by 90 degrees.

I am assuming you are useing the base code that unbundles the axis data into x axis and y axis. those should simply be fed into their respective x and y inputs into your robot drive subvi. If they match then try mismatching them to see if that solves your problem, as it may just be a problem with the joystick you are using.

You can find this in the teleop subvi.
__________________
FRC 1732 (Hilltoppers): Mentor
FRC 2338 (Gear It Forward): Mentor/Alumnus
FRC 4096 (CTRL-Z): Mentor


Last edited by indubitably : 08-02-2011 at 12:42.
 


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 23:38.

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