|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: Is It Just Me or...
A Kalman filter is complete overkill for FRC. You need a complete understanding, mathematically, of your physical system for a Kalman filter to be effective.
We have never used it for any of our robots in FRC. |
|
#2
|
|||
|
|||
|
Re: Is It Just Me or...
Quote:
See this paper which is an overview of the Kalman filter (esp. the section on Filter Parameters and Tuning and the Extended Kalman filter): http://www.cs.unc.edu/~welch/media/pdf/kalman_intro.pdf Quote:
That being said, I agree that Kalman filters are generally overkill for FRC. |
|
#3
|
||||||
|
||||||
|
Re: Is It Just Me or...
Quote:
When using multiple IMUs and sensing devices, Kalman is the ONLY way to go, but for us I still say ineffective. |
|
#4
|
|||
|
|||
|
Re: Is It Just Me or...
A Kalman Filter is not a substitute for a PID. It is something you might do in addition to a PID.
A Kalman Filter attempts to accurately estimate the state (position, velocity, etc.) of your system. It is used either when your sensors are inaccurate (always true to some extent) or when you do not have enough sensors to measure your full state directly. A KF with even a very crude model can provide more accurate state estimates than reading your sensors directly or traditional filtering if the KF is tuned correctly (not necessarily easy to do). A more accurate system model will result in correspondingly more accurate state estimates. Extended Kalman Filters allow you to use nonlinear models of your system, which is sometimes desirable, but significantly complicates the process. I would say that a KF is almost always overkill for FRC applications. A PID is a control strategy, which means it determines actuator commands (usually motor voltage or duty cycle in an FRC context) based on the system state. |
|
#5
|
|||
|
|||
|
Re: Is It Just Me or...
Quote:
|
|
#6
|
|||
|
|||
|
Re: Is It Just Me or...
Not to worry on that part.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|