New brain implementation
I tried implementing a robot brain in Java, but I couldn’t get that working due to problems using the Java Native Interface to play nicely with the native serial port communication code. I tried C#, which worked…marginally. After using MyEclipse, I really don’t like Visual Studio as an IDE.
So I’m back where I started…using Python 2.5 to write the Brain for PK-1. The reason for this is because I wanted to take advantage of Python’s awesome 3D library VPython. So I spent a little more time on it, and was able to get the two way RS232 conversation happening between a Python program and PK-1’s RS232-emulating Bluetooth tranceiver.
So the code is being written now… PK-1 will turn on, explore his environment, and the Python Brain will construct a 3D model of the world as PK-1 sees it. It should be pretty cool. I’ll post screenshots when it’s ready for testing.