That is exactly how the IPRE Fluke board controls the Scribbler robot. In stead of 2 Arduino boards it uses a "Propeller " board that contains Microcontroller- P8X32A-Q44 multi-core processor with eight processing cogs. (cores). which can operate simultaneously at your will. Using the Propeller is like employing a team of up to eight workers for a project; the team members can work in parallel on given tasks and coordinate as needed to achieve a common goal. Being truly flexible and efficient, they can share, shuffle, and dedicate to duties, quietly wait for events, start and stop, and direct each other as needed.speculatrix wrote:I'm interested in using the Pi for robotics in the same way I'm currently using a BeagleBone - for high-level logic.
I'm currently using a BB with Python code for the robot's more intellectual processing. It communicates via serial with two Arduinos.
One Arduino runs the motors and handles obstacle avoidance (IR proximity sensors & rangerfinders plus contact switches). It has a limited level of autonomy - eg, moving away from obstacles.
The other Arduino handles various sensors, plus some servos for a moving 'head' that carries rangefinders etc.
The Arduinos and BeagleBone pass messages where necessary - eg, the BB might tell the motor controller 'turn left 90 degrees' but leaves it up to the Arduino to figure out how to do that. In return, the motor unit might send a message to the BB that it has just turned 30 degrees left in order to avoid something (a fact the BB software can build into its mapping).
I like the idea of a module robot design using distributed processing. So the idea of something like the Pi or BB being the main 'brain' of a robot commanding microprocessor-controlled, black box-style modules (for motors, sensors, etc) is very appealing to me.
Unfortunately, the robotics project has had to take a back seat while I concentrate on other things - such as earning a living. -=sigh=- What I have been doing has mostly involved tinkering with the control systems.mande01 wrote:@ speculatrix do you have more information on your project? As in all of it!
Stateside wrote:I have reached out to the Myro Users group.The rely is as follows:
Is it possible to replace the IPRE Fluke with the Raspberry pi?
If so it would help reduce the hardware costs to schools and perhaps more
schools could implement computer training using robots?
It should be possible (as you can use the Scribbler directly connected to
a serial cable, although that use might not be completely tested).
But don't forget about Fluke's camera, one of the best parts.
Although, it may be cheaper to bundle a Raspberry Pi with a webcam, and
perhaps even some kind of wireless connection. Interesting idea.
If someone makes a do-it-yourself Fluke-like thing, please let us know!