View Single Post
  #8   Spotlight this post!  
Unread 14-04-2006, 02:03
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Re: Can't get auto mode to run with OI switches

Okay,

Based on a if and elseif statement, the bot would read the potentiometer on the OI which is p2_wheel, called autopos.

Autopos is going to equal to currentauto within 26 ms. once that happens, current auto is compared using a little deadband then setting newautoselect.

newautoselect is now supposed to be pulled from the user_routines.c

now newautoselect is put into a little if and then and then the new auto mode is supposed to be selected.

Shouldnt that code already work?
__________________
-Kiet Chau

2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com