Angle measurement for balancing robot.


Closed Thread
Results 1 to 40 of 53

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    Sorry to drag up an old thread, but did anyone ever manage to get a Kalman filter implemented successfully in PBP?

    I'm hoping to apply a Kalman filter to accelerometer and gyroscope readings to obtain a tilt measurement and I figured I'd ask if someone has done this in PBP before attempting to port the C code full of floats and matrix multiplication into PBP.
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default

    Hi,
    Not me.... But I'm sure it can be done with PBP, PBPL provides enough bits to get the resolution and but to be able to do it you need to actually understand how it works - which I don't :-(

    If you understand the Kalman theory and/or how the C code works I'm sure that we, collectively, can work it out if we take it step by step.

    I'd really like to see working Kalman filter in PBP as well.

    /Henrik.

  3. #3
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    I've been researching it and i'm starting to understand it better. I can certainly follow the C code, but theres a lot of things in there that arent so easy in PBP, like floats, matrix manipulation and trig like arcsin.
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

Similar Threads

  1. Replies: 0
    Last Post: - 2nd February 2009, 23:23
  2. PIC16F877A for application in mobile robot...
    By mcbeasleyjr in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th January 2009, 14:47
  3. Need Help - Line Tracer Robot
    By pidot in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 10th August 2007, 14:58
  4. IR for robot on 16F877A
    By Samuel in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 9th April 2005, 20:57
  5. Line tracer robot
    By cibotsan in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 30th January 2005, 15:36

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