[Cialug] ROS (Robot Operating System)
Todd Pierce
toddcpierce at gmail.com
Tue Apr 26 09:08:24 CDT 2011
Dan,
As far as controlling the S2 with the Chumby goes, I already mentioned that
I'd be tempted to just use serial port communications.
They do have code available for this purpose:
Simple serial:
http://obex.parallax.com/objects/183/
and Full Duplex Serial:
http://obex.parallax.com/objects/54/
It would then be a matter of using one of those libraries to make a (rather
short) program to handshake between the two devices.
Does your S2 really have WiFi? If it does, well, it's a tough call whether
or not WiFi is the way to go. I'm just throwing out options.
However you do it, I'd probably keep things simple by having the Chumby
accept a huge 'status word' which describes everything going on with all of
the S2 devices at any time, and then a 'command word' which the Chumby could
yell at the S2 which would tell it what to do with any of its devices at any
time. That's just a personal preference on how I'd design it.
I guess that GUI tool for installing the code on the propeller only works
on Windows, but someone (as usual) is developing an IDE for Linux:
http://propeller.wikispaces.com/Linux+Development
Getting serial communications to function on the Chumby will probably be
less involved; it actually is a real computer with an OS.
Also, you mentioned that you installed gcc on the Chumby. Did you test it
by trying to compile anything yet?
I know this is a lot to throw at you if your not much of a coder. Heck, I
do programming and it seems like a deep pool to dive into even to me.
Alas, things will always get weird if we set out to do weird things.
-Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cialug.org/pipermail/cialug/attachments/20110426/100329b7/attachment.html>
More information about the Cialug
mailing list