Thread: VEX inputs
View Single Post
  #23   Spotlight this post!  
Unread 31-05-2006, 18:17
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,074
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: VEX inputs

Oh no. im always a fan of posting work, complete or incomplete. The problem is i dont have any writen. I was doing proof of concept for a class. nothing that would be usable, just to make sure it could be done.

Though to make the 'bot drive in a straight line id think youd need two encoders. each time either of them is triggered you would add one to that wheel's count. Now, to make sure that it ran in a straight line i would use a timer to determine the rate at which you are calling interupts (dont ask me how to but i have a hunch it is in the pic18 ref manual ill look into it more after i finish my report on spam)

If i get time i will most definetly write up some code. I cant garuntee it will work or will be correct but i recall we wrote something using the hall effect sensors for the FRC game this year. I will look into it and ill keep in touch with you. .
Reply With Quote