Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Modular Robot

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?

Name: Anonymous 2011-08-03 0:38

OP here.

>>11
Is Lua's interpreter faster? I didn't have any particular reason for selecting Python, other than I knew it had a lot of modules, and interfacing with the internet and various periphera (camera, audio) is a big goal. Any recommendations would be greatly appreciated though.

>>17
Right, but it allows the modular development.

>>7
I'm actually rather excited for the learning programming.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List