|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
|||
|
|||
|
Re: PID Control
The way we've handled it is that we reset the I term once the robot has settled in place. That way, it is used when necesary, and turns itself off when it hits the target.
Edit: something to the extent of if(error > -n && error < -n){ I = 0; output = 0; } |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Generic PID control code | Uberbots | Programming | 3 | 26-02-2007 16:59 |
| PID Control | Chris Bright | Programming | 9 | 26-03-2005 19:44 |
| (Experimental) PID Control System | jdong | Programming | 14 | 18-06-2004 15:55 |
| PID control loop/Encoder question | Zee | Programming | 18 | 30-01-2004 23:14 |
| PID Control Loops | ttedrow | Programming | 7 | 05-12-2002 12:03 |