Re: Controlling AX-12 via Keyboard
The XBee Explorer should show up on the PC as a plain old serial port (e.g. COM4 on windows or /dev/ttyUSB0 on linux). The PC side software will just be a program in any language you want to connect to the serial port and send whatever you want to the arbotix as a control (press 'w' and send the character 'w' or some other sequence of bytes over the serial port through the XBee to the arbotix which then interprets it and does something).
The arbotix side code will simply read from the UART (generically referred to as a 'serial port' or worse as an 'RS-232 serial port') the XBee is connected to and then do whatever you want with it. The code darkback linked should be a decent base if you don't already have an example using the arbotix pose code (poses in a header file created by pypose.py).
Please pardon the pedantry... and the profanity... and the convoluted speech pattern...
"I give you 80mg fluoxetine, 10mg buspirone (4x daily), plenty of food and sleep, and still you are failing me, Brain!"
Bookmarks