View Single Post
  #5   Spotlight this post!  
Unread 23-01-2006, 01:24
CharlieWilken CharlieWilken is offline
Registered User
#0634 (Robowolves)
 
Join Date: Jan 2002
Location: Van Nuys, CA
Posts: 46
CharlieWilken is an unknown quantity at this point
Re: gyro and shooting angle

Thank you guys for the input. It sounds like I don't want a gyro but want one of the various techniques that you described.

1. Using limit switches or light sensors - This idea is great however Im not sure how to use 3 limit switches with regards to moving in a particular directions. Even with the light sensing switches what tells the motor which way to start moving to find the next postion ( Thanks for the sample code by the way). A plus of This technique is it lends itself to visual recalibration after a major accident and repair job!


2. Potentiometer- This is a great idea because it has direction built in to a numeric value. However Im not quite sure how to physically set it up on the controller and OI. I assume you would use digital inputs on port 3 or 4 for the input and do something with the analog input on the robot controller for the potentiometer. How to program this I could use some help with?

- A team in search of a programmer!!!