by JonHylands » Fri May 25, 2007 12:35 pm
by JonHylands
Fri May 25, 2007 12:35 pm
So, last night I reached a major milestone with BrainBot - I managed to move a servo, untethered. Doesn't sound like much, but there's a lot of technology running to make that happen.
BrainBot, in the video below, is running off batteries (two separate battery packs - one for the electronics/gumstix and one for the bus). I have an ssh window on my laptop connected via wifi to the gumstix, which has a usb wifi dongle attached to one of the two USB host ports. I have an FT232 chip also onboard, connected to the second USB host port on the gumstix, allowing the gumstix to talk to the Bioloid bus at 1.0 Mbps directly, as a virtual serial port.
http://www.bioloid.info/BrainBot-Untethered.wmv (1.3 MB)
I'm running Squeak Smalltalk on the gumstix, which sends a command to the head tilt servo to change the position of the servo a couple times.
So, what I have now is a high-bandwidth, low-latency connection to the Bioloid bus from a PC. I have a colleague who has written a "pipeline" application (also in Squeak) that acts as a message forwarder between the Bioloid bus and a TCP/IP socket. This message forwarder also has implemented (on the gumstix) a SYNC_READ command, which allows me to read specific values from each actuator and sensor on the bus, in one message/response.
Once I get this pipeline software integrated, I will be able to use my old GUIs and motion control systems (which I wrote to make MicroRaptor walk) to talk to BrainBot.
- Jon
So, last night I reached a major milestone with BrainBot - I managed to move a servo, untethered. Doesn't sound like much, but there's a lot of technology running to make that happen.
BrainBot, in the video below, is running off batteries (two separate battery packs - one for the electronics/gumstix and one for the bus). I have an ssh window on my laptop connected via wifi to the gumstix, which has a usb wifi dongle attached to one of the two USB host ports. I have an FT232 chip also onboard, connected to the second USB host port on the gumstix, allowing the gumstix to talk to the Bioloid bus at 1.0 Mbps directly, as a virtual serial port.
http://www.bioloid.info/BrainBot-Untethered.wmv (1.3 MB)
I'm running Squeak Smalltalk on the gumstix, which sends a command to the head tilt servo to change the position of the servo a couple times.
So, what I have now is a high-bandwidth, low-latency connection to the Bioloid bus from a PC. I have a colleague who has written a "pipeline" application (also in Squeak) that acts as a message forwarder between the Bioloid bus and a TCP/IP socket. This message forwarder also has implemented (on the gumstix) a SYNC_READ command, which allows me to read specific values from each actuator and sensor on the bus, in one message/response.
Once I get this pipeline software integrated, I will be able to use my old GUIs and motion control systems (which I wrote to make MicroRaptor walk) to talk to BrainBot.
- Jon