View Single Post
  #14   Spotlight this post!  
Unread 12-02-2006, 20:05
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 486
SoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant future
Re: Weapon Accuracy?

Quote:
Originally Posted by 6600gt
Well the power i give to motor is error/3 (based on a 0-254 error scale) + the minimum power required to get the thing moving. It slows it down as the error becomes less so it can settle. Its straight but I think it works. Its one part of the PID control? Still don't understand the other 2.

And ofcourse you can do more complex things...
That sounds like a good way to do it. I sorta skipped over where you were qualifying with "basically".

Now I'm go to respond to your last message in a way that isn't quite literally there, but seems to be implied: it seems like you imply that other methods must be more complex.

There are actually simpler ways that you could potentially control the aim. For example, my team's manual aim mode works with only left, right, and off for the turning, and up, down, and off for the tilting. You could have your camera do the same thing.

And yes, proportional is the P in PID. The other are integral and differential, see a number of other threads for more information about them.