Shop OBEX P1 Docs P2 Docs Learn Events
Spacial recognition and mapping — Parallax Forums

Spacial recognition and mapping

BotdocterBotdocter Posts: 271
edited 2010-03-31 21:24 in Propeller 1
Hey all,

I stopped my balance bot project because the whole balancing thing was distracting me from the purpose i had in mind for my bot. One of them is the following:

spacial mapping and eventually recognition.

I found a topic that looks very interesting! It's done with only one sharp ir sensor.
www.societyofrobots.com/programming_wavefront.shtml

could someone tell me if it is possible to run this on the propeller and help convert it?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1 Parallax Propeller Robot Control Board
1 Memsic MX2125 accelerometer/ tilt
1 Parallax Ping))) ultrasonic sensor

a few motors and a whole lot of chaos!

Comments

  • SRLMSRLM Posts: 5,045
    edited 2010-03-30 03:23
    In general, any processor can process any algorithm (at least algorithms that have a solution), it's just that some processors will solve it faster than others. So, yes, the Propeller can implement that algorithm.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Powered by enthusiasm
  • BotdocterBotdocter Posts: 271
    edited 2010-03-30 03:35
    So do i have to change anything about the code and can i use it together with spin? Maybe you have a link on how to combine?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    1 Parallax Propeller Robot Control Board
    1 Memsic MX2125 accelerometer/ tilt
    1 Parallax Ping))) ultrasonic sensor

    a few motors and a whole lot of chaos!
  • Graham StablerGraham Stabler Posts: 2,510
    edited 2010-03-30 08:40
    You need to understand the IDEA behind his code, then you will not even need to look at his code, you can just program it up on the propeller in your own way. If you just try to convert it line by line you will never know why it doesn't work if it doesn't work.

    Graham
  • BotdocterBotdocter Posts: 271
    edited 2010-03-31 21:24
    i understand..

    How about combining C with spin? I read somwhere that it can be used together. How would one do that?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    1 Parallax Propeller Robot Control Board
    1 Memsic MX2125 accelerometer/ tilt
    1 Parallax Ping))) ultrasonic sensor

    a few motors and a whole lot of chaos!
Sign In or Register to comment.