Name: Anonymous 2011-08-02 1:06
So /praggles/.
I plan on beginning the construction of a robot of sorts when school gets back in. In essence, it will be a small computer one wheels. Perhaps we will add a camera or something later.
I want programming to be added to the robot in modules, without recompiling it's "operating system." Essentially, I will write drivers for its motors and then wrap the drivers in python. There will be directories in the robot's filesystem for placing python scripts, and the operating code (C++) will load all python scripts in each directory (different directories indicate different manners of running the scripts) and invoke the python interpreter.
This would allow for the AI coding/any interfacing to be written in python rather than having to write C or C++ code and constantly recompile.
Recommendations on improvements to the system? Is python a decent choice of scripting language? Thoughts?
I plan on beginning the construction of a robot of sorts when school gets back in. In essence, it will be a small computer one wheels. Perhaps we will add a camera or something later.
I want programming to be added to the robot in modules, without recompiling it's "operating system." Essentially, I will write drivers for its motors and then wrap the drivers in python. There will be directories in the robot's filesystem for placing python scripts, and the operating code (C++) will load all python scripts in each directory (different directories indicate different manners of running the scripts) and invoke the python interpreter.
This would allow for the AI coding/any interfacing to be written in python rather than having to write C or C++ code and constantly recompile.
Recommendations on improvements to the system? Is python a decent choice of scripting language? Thoughts?