Go to Post sometimes you just have to escape the wheel. - Tytus Gerrish [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2011, 12:55
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Re: Make motors run the same speed using encoders

Im sorry but i don't think i understand your question well enough. From what i got it sounds like your having problems with making the robot go straight even if the joystick is tilted in an off direction. If this is your problem then you can make a case structure hook up to the button your going to use to initiate this coding (im assuming a button) and in the true wire the x axis input on arcade drive (yet again more assumtions) to a 0 constant in the case structure and for false have the x axis output go through the case structure to the x axis input. It MUST go through the case structure.
in boolean algebra it would look something like this:
a = button;
Xinput = axis input;
Xoutput = plugged into the arcade drive;
Name:  equation.bmp
Views: 275
Size:  58.7 KB
__________________

jRIO 2013 Project
Reply With Quote
Reply


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 21:19.

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