This is a blog about me, Seinfeld, okonomiyaki, japanese toilet seats, and other things of interest

Monday, May 22, 2006

Waiting room

Ever since Mike unfortunately left Herts I have been working in my spare time on the low-level software and programming environment for Kaspar the robot. Now that the servos can be controlled and the camera images captured I am faced with the task of making a gui and a nice and easy method to create custom behaviours. Most of Kaspar's code is written in Java with some low-level control of the servos and camera in C. One option for creating custom behaviours would be to let the user write small Java classes that could then be loaded and executed. This is maybe the easiest way but is annoying since it requires compilation of the behaviours which makes it less user friendly. Instead I have decided to let the user define new behaviours using Python, using Jython for the Python-Java bridge.

1 Comments:

Blogger RoboGeek said...

very interesting. how about using Jolog** - the little known, but still very useful, Java-Prolog bridge.

you could then simply define a predicate

:behave

and it woud follow its logical inference engine resulting in an output on the screen of

:Yes

Or not.

** OK, I might have made that up.

1:44 AM

 

Post a Comment

<< Home