I saw that balancing robot on the paralax website. It doesn't use a gyro and an accelerometer. Useless on a sloped surface.
I saw that balancing robot on the paralax website. It doesn't use a gyro and an accelerometer. Useless on a sloped surface.
Ok I got the timer going, but brace yourself for a possible kalman filter question. I havn't found a single website that can explain kalman filters in laymens terms.
And you probably won't find one.
Best explanation I can offer is that a Kalman filter makes a best 'future guess' based on the accuracy of it's past 'future guesses'.
If the Kalman filter isn't sure of itself, it's 'future guess' goes out the window.
I remember this from working the INU's on -130's. Ring Laser Gyro based INU's. The aircrews wouldn't believe the INU's position, so they'd update the things fairly often from TACAN or RADAR or whatever, even handheld GPS's. Then they'd whine when they got back because the INU would start drifting really badly inflight. The crews would come back and whine, we'd explain to them that they had ruined the INU's confidence by telling the INU it wasn't where it thought it was even though the difference between where the INU thought it was and where the crew told it that it was was very small. But of course, the aircrews knew better, because they're officers, and have degrees right?
We'd have to go out and run a ground align on the INU about a half a dozen times and each time, just let the INU cook by itself for awhile to build up it's confidence. At first it would sit there and drift away from the spot the aircraft was on. After a couple of time, the drifting would get less and less and eventually, it wouldn't drift at all.
But all that explanation doesn't help a person write any code now does it?![]()
This post above and the post about the PicMultiCalc have been the most usefull to me in this thread. PicMultiCalc taught me a little bit of how timer0 works, and the post above taught me in laymens terms what the kalman filter does. The post two poitions up by Acetronics is not usefull and this person has probably no life. (:
Well, then let me not help you out a bit more...
If I could edit my Kalman filter post down to nothing but agreement with post #16, I would, but I can't.
And a Kalman filter is a helluva lot more complicated than the 'layman's terms' I laid out...and probably beyond your level of comprehension by a few orders of magnitude...
So, when you get a chance, here's what you do....
Step outside and go play a one handed game of hide and go #@$^&^@ yourself...
Last edited by skimask; - 13th February 2008 at 05:14.
East Tonto, You got leftover DoNuts older than this Kid . . .But ... LMAO
Last edited by Archangel; - 13th February 2008 at 20:42.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks