Go to Post You're not crazy. Eleven is the new seven. - Michael Corsetto [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
  #16   Spotlight this post!  
Unread 02-02-2010, 01:08
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Is there a Way To refrence a true false statement

The easiest way to invert your motors response is simply to invert the value you are sending from the joystick.

In this case, inside the teleop VI get a button from the joystick and wire it to a true/false structure. In the false case, wire your normal joystick output through to your motor. In the true case, place a "negate" inside it, and wire your joystick through that.

Now all your joystick values that come out when the button is pressed and held will be inverted, and your motor will run "backwards" in response to them.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to display Cmaer Live footage? Tottanka FRC Control System 0 12-12-2008 11:21
Is it true that there is not going to be UC Davis Sacramento Region next year? jimmythetulip22 General Forum 14 03-03-2008 23:54
Is there a way to read your Team Colour during autonomous mode? Firestorm Programming 2 19-02-2005 18:57
Way back there. Size of Nationals, and a solution archiver 2001 23 24-06-2002 03:28
is it true? are there pics of TEAM 1?? archiver 2000 3 23-06-2002 22:19


All times are GMT -5. The time now is 04:22.

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