View Single Post
  #1   Spotlight this post!  
Unread 26-04-2004, 15:20
Joe Clohessy's Avatar
Joe Clohessy Joe Clohessy is offline
Registered User
#0522 (RoboWizards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2000
Location: Staten Island NewYork
Posts: 29
Joe Clohessy will become famous soon enough
Send a message via AIM to Joe Clohessy
Exclamation Multiple Auton's

I was wondering of a way to do multiple auton modes. Please if you have any proven information let me know either in a PM or Email DragonMan@si.rr.com .

I tired having a switch to make a digital input on the Robot Controler trigger a different auton mode by grounding the Signal (To make it a 1) with such code as:


(I forgot the actual name for the digital inputs so lets say dig 1 & dig 2)

if (dig1 = 1)
{
/*Auton mode here/*
}

else if (dig2 =1)
{
/* other Auton Mode/*
}

else
{
/*do nothing /*
}



Can someone tell me why this theory wouldnt work ??
Does anyone have an auton mode that has a switch to change between modes that I can look at and pick apart. Thankyou
__________________
--2004 NYC Regional Winners
--2004 NYC DaimlerChrysler Team Spirit Award
--2004 NYC GM Industrial Design Award

--2003 NYC Regional Winners
--2003 NYC Motorola Quality Award Winner
--2003 Philadelphia Eliminations With Team 365 MOE and Team 341 Miss Daisy
--2003 8th seed Championship Curie
--2003 Eliminations With Team Hammond the 2002 Championship Winners and Team 223 Xtreme Heat