DISQUS

Ausrobotics: A simple STRIPS robot using WARPLAN/Prolog

  • ash · 2 years ago


    I haven't done any Prolog programming since I last touched it at uni but it seems pretty logical to me (pun not originally intended until I realised what I had written :).



    I might have to check out your planner as well once I get a platform to test it on. I finally shelled out and bought a good bluetooth dongle today so I should be able to connect to my Mindstorms kits and send and receive data while the little guy is driving around the room :)

  • kymhorsell · 2 years ago


    Maybe I can add some "get acquainted" things on my blog.



    I've been playing with Prolog for quite a while. I'm not a big expert, but I learned the most important thing is -- abandon everything you learned about programming in FORTRAN, C or Pascal.



    And a funny thing -- Prolog is exactly the same as simple planners. You write operators (you may call them "procedures") and the Prolog system searches depth-first to find a sequence of them that will reach the goal of completing the top-level goal (you may call that a "command").



    On the "millions of options" front, does the Richtext have a CODE option or something. No matter what I seem to do, the example programs and even output data from programs, seems to get royally screwed up when I insert it. You seem to  get double spaced lines that look like normal text, or you get itty bitty printing and everything run into 1 line.



    The example Prolog code is still messed up somewhere between these 2 extremes and is essentially unreadable by man or machine.