Performing a loop every 10ms


Closed Thread
Results 1 to 40 of 41

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    I saw that balancing robot on the paralax website. It doesn't use a gyro and an accelerometer. Useless on a sloped surface.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by wasssup1990 View Post
    I saw that balancing robot on the paralax website. It doesn't use a gyro and an accelerometer. Useless on a sloped surface.
    Differential GPS, one on each corner of a 4 cornered base... Solves everything!

  3. #3
    Join Date
    Feb 2008
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    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.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by wasssup1990 View Post
    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?

  5. #5
    Join Date
    Feb 2008
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    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. (:

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by wasssup1990 View Post
    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.

  7. #7
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    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.

  8. #8
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Post

    Quote Originally Posted by wasssup1990 View Post
    I saw that balancing robot on the paralax website. It doesn't use a gyro and an accelerometer. Useless on a sloped surface.

    ... ROFL !!

    THEY show you how to interface with the sensors, YOU write the program for your own requirements and dreams, with YOUR sensors.

    Not just a cut and paste party ...

    Alain
    ************************************************** ***********************
    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 " !!!
    *****************************************

Similar Threads

  1. Controlsystem for compact sporting (clay shooting)
    By Fredrick in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 30th July 2009, 16:48
  2. Serin to Serin2 ??
    By Gixxer in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th January 2008, 03:56
  3. Serial Relays
    By tazntex in forum General
    Replies: 3
    Last Post: - 17th May 2007, 17:42
  4. newbie Q - edge detection?
    By RMCRAVEN in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 9th October 2006, 08:20
  5. Newbie question:
    By Izone in forum mel PIC BASIC
    Replies: 2
    Last Post: - 26th February 2006, 16:24

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts