View Single Post
  #1   Spotlight this post!  
Unread 17-05-2004, 01:52
Avarik Avarik is offline
Registered User
#0022
 
Join Date: Jan 2004
Location: Chatsworth, CA
Posts: 75
Avarik is an unknown quantity at this point
Re: 2001 2002 in Automous

I am not sure that you could cause autonomous mode to initiate through some signal to the competition port, but it would be possible to create an autonomous mode that ran off of the joystick. This is how i tested our autonomous.

I made my autonomous code simply a function. I called it once in the autonomous mode section, and once with an iff statement that ran only if p4_wheel was greater than a certain value. Here is an example.

Code:
if (p4_wheel > 200)
     My_Autonomous();