Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Virtual Dynamixel

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
6 postsPage 1 of 1
6 postsPage 1 of 1

Virtual Dynamixel

Post by billyzelsnack » Fri Nov 13, 2009 12:17 am

Post by billyzelsnack
Fri Nov 13, 2009 12:17 am

I wanted to control my robot from the keyboard. I already have a homemade dynamixel interface working and I figured I could have my PC emulate a dynamixel.

It works. Inside Roboplus Task I load a value from a custom device. I can now drive my humanoid around using WASD!

However.. I get a lot of packet errors according to the Task output.

I'm wondering if anyone else has done this and squeazed out decent performance. I'm guessing it might not really be possible due to the PC not being very IO realtime friendly, but I'd be happy to find out something is just broken in my code. I'll post the code in day or so once I've cleaned it up.
I wanted to control my robot from the keyboard. I already have a homemade dynamixel interface working and I figured I could have my PC emulate a dynamixel.

It works. Inside Roboplus Task I load a value from a custom device. I can now drive my humanoid around using WASD!

However.. I get a lot of packet errors according to the Task output.

I'm wondering if anyone else has done this and squeazed out decent performance. I'm guessing it might not really be possible due to the PC not being very IO realtime friendly, but I'd be happy to find out something is just broken in my code. I'll post the code in day or so once I've cleaned it up.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by billyzelsnack » Fri Nov 13, 2009 3:54 am

Post by billyzelsnack
Fri Nov 13, 2009 3:54 am

I put the source up here..

http://www.mediafire.com/?sharekey=e01a ... d2eb488dac

It's just quickly hacked up dynamixel code to test out the concept so nothing special.
I put the source up here..

http://www.mediafire.com/?sharekey=e01a ... d2eb488dac

It's just quickly hacked up dynamixel code to test out the concept so nothing special.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by billyzelsnack » Fri Nov 13, 2009 7:03 am

Post by billyzelsnack
Fri Nov 13, 2009 7:03 am

phpBB [media]
phpBB [media]
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by limor » Fri Nov 13, 2009 1:43 pm

Post by limor
Fri Nov 13, 2009 1:43 pm

Sorry for being thick but i don't follow what you are trying to do..
- control the robot from a keyboard
- WASD = keys on keyboard w,a,s,d ?
- home made dynamixel interface - what interface?
- PC emulating a dynamixel
- voice control
Sorry for being thick but i don't follow what you are trying to do..
- control the robot from a keyboard
- WASD = keys on keyboard w,a,s,d ?
- home made dynamixel interface - what interface?
- PC emulating a dynamixel
- voice control
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Post by billyzelsnack » Fri Nov 13, 2009 3:49 pm

Post by billyzelsnack
Fri Nov 13, 2009 3:49 pm

haha. It's hard to hold the camera and do something else. Some day my robots will be far enough along to hold the camera for me!

Basically.. My computer is sitting on the dynamixel bus and is available for the CM-5 to read commands off of. Currently the computer is just filling its dynamixel table slot with the latest keyboard key.

Not voice control. I'm just talking because it's hard to film it. Though.. I'm sure if I really wanted to I could find some open-source voice control and make it work in an hour or so. haha.

I'm thinking that I might build this proper. Just an AVR that talks to the dynamixel bus realtime, but has its table filled sub-realtime via USB.

oh.. "home made interface" is that thing hanging off the robot's back. It's basically just Arnaud's USB interface.
haha. It's hard to hold the camera and do something else. Some day my robots will be far enough along to hold the camera for me!

Basically.. My computer is sitting on the dynamixel bus and is available for the CM-5 to read commands off of. Currently the computer is just filling its dynamixel table slot with the latest keyboard key.

Not voice control. I'm just talking because it's hard to film it. Though.. I'm sure if I really wanted to I could find some open-source voice control and make it work in an hour or so. haha.

I'm thinking that I might build this proper. Just an AVR that talks to the dynamixel bus realtime, but has its table filled sub-realtime via USB.

oh.. "home made interface" is that thing hanging off the robot's back. It's basically just Arnaud's USB interface.
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by limor » Sat Nov 14, 2009 12:23 am

Post by limor
Sat Nov 14, 2009 12:23 am

thanks for explaining
the idea of adding a keyboard on the dynamixel bus or some other computer controled element is interesting especially in the context of my new found $35 friend.
8)
thanks for explaining
the idea of adding a keyboard on the dynamixel bus or some other computer controled element is interesting especially in the context of my new found $35 friend.
8)
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK


6 postsPage 1 of 1
6 postsPage 1 of 1