Go to Post Moral of the story: Keep something you can power on gamepieces at all times. Leaving them "to do their own thing" will only lead to heartbreak. - Ian Curtis [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-02-2003, 21:35
ttedrow's Avatar
ttedrow ttedrow is offline
Herding electrons
AKA: Tim Tedrow
FRC #0281 (EnTech)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Greenville, SC
Posts: 165
ttedrow will become famous soon enoughttedrow will become famous soon enough
Remember, during the human player period, operator will NOT be allowed to touch the OI.

The simple solution is to put a toggle switch on your robot and wire it to a digital input. Then some simple code and you are done.


RigthTurn VAR rc_swB.bit4 '13 Autonomous Mode Turning Direction: 1=Right, 0=Left


IF RigthTurn THEN
'Do Right turn code
ELSE
'Do Left turn code
ENDIF

I hope this helps

Tim Tedrow
__________________
Sr. Design Engineer
Caterpillar Inc.
Greenville, SC

KD4EGM

FRC 281 Greenvillains
Infected with the FIRST virus in 2000

Yes, Chute Door!!!
Closed Thread


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
Alt codes in Forums? Elgin Clock CD Forum Support 2 27-09-2003 00:45
html codes Tim_Wochomurka Chit-Chat 2 01-11-2002 22:14


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

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