Has anyone created multithreaded code for their 'bot?
I.e., one program that spawns many threads, each thread controlling a unique aspect of the bot’s movement or behavior.
dj
Has anyone created multithreaded code for their 'bot?
I.e., one program that spawns many threads, each thread controlling a unique aspect of the bot’s movement or behavior.
dj
I haven’t seen anything like that.
Everything i’ve seen is based on math and if/than/else.
The basic atom pro just loops through and jumps between sections when needed, i haven’t seen anything in regards to doing 2 things at once.
Only one after another.
And the SSC-32 is serial controlled, so everything is done on the computer, or by another micro controller.
Your best bet would be the SSC-32 controlled remotely by a computer, or the Basic atom controlled by the computer, then have the computer process multiple threads of data at once.
If you got space on your bot, a single board computer like this would work.
robotshop.com/roboard-starter-kit-3.html
Or if the bot is a little larger, you can use an Nvidia Ion ITX computer + an SSC-32.
I’d go with the single board computer from robotshop if i could afford it, pair it with a 16gb micro-sdhc card and windows XP or linux and you have a really powerful robot board.
The nvidia ion platform is much more powerful, and should you ever change your mind you have a fully functional computer.
But in the end would be more expensive.
since they can run xp, it means you can run roborealm. which will do all the “thinking” for your bot, making it easy to program a bot to do advance task.