View Single Post
  #3   Spotlight this post!  
Unread 24-02-2007, 20:29
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: 108 Scoring in Autonomous

We are using two different feedback techniques.

For the linear "joint" (which is not used in the video) there are three stationary reed switches which detect when a magnet (located on the moving telescope section) are within a few millimeters proximity. Using a state machine, controlled motor direction, we infer 5 states of the telescoping arm position bottom, middle, top, and two states for any area between those two intervals. We can then find out where we currently are, and using another state machine, control the motor accordingly to become where we want to be.

The two rotational joints both have banebot encoders. We can infer relative angular position from starting positions (these will eventually be zeroed with limit switched). We implement a simple proportional feedback control. This is especially needed for the last joint (the wrist is what I think we agreed on calling it) because it moves extremely fast.

We saw no need to implement a full PID routine for these joints. We also felt no need to implement any form of mathematical control for the elevator due to the fact that it pretty much stops within very few milliseconds of commanding it to stop.