by AlphA » Tue Apr 22, 2008 8:18 pm
by AlphA
Tue Apr 22, 2008 8:18 pm
Good thinking limor! I've looked through aobrien’s serial port console script, and figured out enough to make a standalone AHK exe that directly converts joystick input to Bioloid serial control commands. No more macros or robot terminal and nothing to install! No need for any Bioloid software or special JoyStick drivers either.
I’ve made it customizable and gave it some smarts. For example, if you are in the Init (standing) position and send the AttackFront command, Bioloid will first send the AttackReady command. This way, the user can throw a few punches without worrying about erratically changing poses from stand to attacking. It also prevents the user from going from AttackReady to walking, which would otherwise result in a fall. If you stop attacking for a few seconds, the Bioloid will return to Init and be ready to walk, turn, etc. It’s a lot simpler than I’m making it sound.
Another good thing about this technique is that everything is executed in Program Mode. So, it will not interfere with any program you may have saved in the Bioloid. You can switch between autonomous (play) and manual control (program) modes without changing the behavior control program.
Both, Prolific usb2serial adapter and actual serial ports worked fine. I've tested this on Windows 2k, XP and Vista.
All that is required is:
• a PC with some form of serial port (possibly BlueTooth)
• joystick/gamepad
plug-and-play is best (HID-compliant game controller). Sometimes, "fancy" gamepads that show up as "USB Human Interface Device" have trouble communicating correctly.
http://bigmech.com/bioloid/wp-content/uploads/2008/05/bioloidserialcontrol.zip
I'd like to know if this works with Zig-Bee and/or BlueTooth hack, but I have neither. Can someone give this a try?
Good thinking limor! I've looked through aobrien’s serial port console script, and figured out enough to make a standalone AHK exe that directly converts joystick input to Bioloid serial control commands. No more macros or robot terminal and nothing to install! No need for any Bioloid software or special JoyStick drivers either.
I’ve made it customizable and gave it some smarts. For example, if you are in the Init (standing) position and send the AttackFront command, Bioloid will first send the AttackReady command. This way, the user can throw a few punches without worrying about erratically changing poses from stand to attacking. It also prevents the user from going from AttackReady to walking, which would otherwise result in a fall. If you stop attacking for a few seconds, the Bioloid will return to Init and be ready to walk, turn, etc. It’s a lot simpler than I’m making it sound.
Another good thing about this technique is that everything is executed in Program Mode. So, it will not interfere with any program you may have saved in the Bioloid. You can switch between autonomous (play) and manual control (program) modes without changing the behavior control program.
Both, Prolific usb2serial adapter and actual serial ports worked fine. I've tested this on Windows 2k, XP and Vista.
All that is required is:
• a PC with some form of serial port (possibly BlueTooth)
• joystick/gamepad
plug-and-play is best (HID-compliant game controller). Sometimes, "fancy" gamepads that show up as "USB Human Interface Device" have trouble communicating correctly.
http://bigmech.com/bioloid/wp-content/uploads/2008/05/bioloidserialcontrol.zip
I'd like to know if this works with Zig-Bee and/or BlueTooth hack, but I have neither. Can someone give this a try?
Last edited by AlphA on Mon May 05, 2008 8:04 pm, edited 1 time in total.