Thread: PID problems
View Single Post
  #2   Spotlight this post!  
Unread 25-02-2013, 16:16
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,650
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: PID problems

Are you sure the motors aren't just topping out at full speed? That can happen if you do something screwy and your command value doesn't create a change in feed back in the same direction. For instance, a 0.5 command to a speed controller should give you a positive speed feedback. If a 0.5 speed command gives you a negative feedback, the the motor is going to quickly end up going full speed the wrong way.

So, if the motors are actually just running full speed in a direction, then something's backwards with your speed feedback or motor polarity from the speed controller.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote