View Single Post
  #17   Spotlight this post!  
Unread 26-02-2004, 17:11
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: pic: Mini-Arm - Controller

Quote:
Originally Posted by mightywombat
Pots are most likely used. We did the same thing last year and it works sooo nice, as long as you have the time to tune the code to react correctly to the movement in the model. I am curious. How did you guys do it? Is it as simple as finding the difference between the actual and the requested pot values, dividing by a constant and adding the signed int to 127? I'm still working on code for a model, right now we are using joysticks and probably will for competition but its a project of mine.... How do you do it?

We used a Axis control code. It wasnt too easy to program this thing. Basically we used the difference between the pots and set the speed accordingly. Also this thing has been programmed with a lot of safety measures. It also has a timer set, so incase we get stopped by anything, it multiplies the speed forcing movement. Ask if anything else
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson