|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
WPI PIDController doesn't account for varying dT?
I was looking through WPI's PIDController code and noticed that they do not incorporate dT into the calculations anywhere. For example, the calculate() method contains the line:
Code:
m_totalError += m_error; Code:
m_totalError += m_error * m_period; |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RobotDrive + PIDController = possible? | oddjob | C/C++ | 4 | 14-01-2010 23:33 |
| Can I get my account name changed or my account deleted? | bendh18 | CD Forum Support | 4 | 14-06-2009 19:21 |
| WPI Lib Source Code from subversion at WPI Sourceforge | steinra | Programming | 6 | 02-12-2008 16:34 |
| Code for sensor still doesn't work | Ianuser | Programming | 3 | 14-02-2007 10:17 |
| Varying levels of enforcement... | Gui Cavalcanti | General Forum | 9 | 28-03-2002 16:29 |