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

Dynamixel Packets?

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

Dynamixel Packets?

Post by Suicidal.Banana » Mon Dec 07, 2009 12:43 pm

Post by Suicidal.Banana
Mon Dec 07, 2009 12:43 pm

Hey All,

First off let me begin by saying i did search, alot, for a few weeks now.
Im looking for a library of some sort (c++, where possible with visual c++ examples) that allows me to make dynamixel packets.

I've long covered 'the topic' of connecting my dynamixels to a pc, i know for a fact things are working (i have a xbee on my pc and one on a arbotix i/o board, they 'talk' great with default software) and i've already got myself a nice serial library (to send/recieve the packages)
However, the problem is that im too new to all this stuff to be able to determine how the dynamixel packets should look, whenever i try make one it doesnt create any response.

I've carefully read The dynamixel manual
I've closelly looked at (and tried to include some of) The USB2Dynamixel SDK
I've looked at and tried to use The Dynacommander source code

What i basiclly need is a bunch of fuctions that are used to create (and possibly send) dynamixel packets, im more aimed at solely create because id like to stick with my current serial class. (because its nicely multithreaded, if you can point me to a ax-12 lib inc serial that also does multithreading nativelly that be great too)

The packets i would like, are pretty much all, ofc i will need goal position (i dont grasp the concept of high and low byte at all btw) and temprature, but id also like to be able to set servo id, torgue limits and other possible options.

Once again sorry, to most of you this will be a pretty dumb query im sure, its just that i've recently started this hobby, and starting to realize i should've prolly started simpler, since im somewhat stuck in the begin of the project now, while im pretty sure it cant be that hard.

Any help is highly appreciated
Hey All,

First off let me begin by saying i did search, alot, for a few weeks now.
Im looking for a library of some sort (c++, where possible with visual c++ examples) that allows me to make dynamixel packets.

I've long covered 'the topic' of connecting my dynamixels to a pc, i know for a fact things are working (i have a xbee on my pc and one on a arbotix i/o board, they 'talk' great with default software) and i've already got myself a nice serial library (to send/recieve the packages)
However, the problem is that im too new to all this stuff to be able to determine how the dynamixel packets should look, whenever i try make one it doesnt create any response.

I've carefully read The dynamixel manual
I've closelly looked at (and tried to include some of) The USB2Dynamixel SDK
I've looked at and tried to use The Dynacommander source code

What i basiclly need is a bunch of fuctions that are used to create (and possibly send) dynamixel packets, im more aimed at solely create because id like to stick with my current serial class. (because its nicely multithreaded, if you can point me to a ax-12 lib inc serial that also does multithreading nativelly that be great too)

The packets i would like, are pretty much all, ofc i will need goal position (i dont grasp the concept of high and low byte at all btw) and temprature, but id also like to be able to set servo id, torgue limits and other possible options.

Once again sorry, to most of you this will be a pretty dumb query im sure, its just that i've recently started this hobby, and starting to realize i should've prolly started simpler, since im somewhat stuck in the begin of the project now, while im pretty sure it cant be that hard.

Any help is highly appreciated
Suicidal.Banana
Savvy Roboteer
Savvy Roboteer
Posts: 78
Joined: Tue Jun 16, 2009 12:54 pm

Post by i-Bot » Mon Dec 07, 2009 3:15 pm

Post by i-Bot
Mon Dec 07, 2009 3:15 pm

Did you find the information here yet ?

http://www.crustcrawler.com/electronics ... hp?prod=65
Did you find the information here yet ?

http://www.crustcrawler.com/electronics ... hp?prod=65
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am

Post by billyzelsnack » Mon Dec 07, 2009 6:36 pm

Post by billyzelsnack
Mon Dec 07, 2009 6:36 pm

Look at the source linked in the Teensy thread. The code is pretty straight forward and would apply just as well to the PC side ( that's actually what it was originally written for. )
Look at the source linked in the Teensy thread. The code is pretty straight forward and would apply just as well to the PC side ( that's actually what it was originally written for. )
billyzelsnack
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 618
Joined: Sat Dec 30, 2006 1:00 am

Post by Suicidal.Banana » Mon Dec 07, 2009 8:00 pm

Post by Suicidal.Banana
Mon Dec 07, 2009 8:00 pm

Thx both!
I-Bot; yeah, thats where i found out that the code for the usb2dynamixel is available
billyzelsnack; thanks, will do
Thx both!
I-Bot; yeah, thats where i found out that the code for the usb2dynamixel is available
billyzelsnack; thanks, will do
Suicidal.Banana
Savvy Roboteer
Savvy Roboteer
Posts: 78
Joined: Tue Jun 16, 2009 12:54 pm

Post by MikeG » Sun Dec 27, 2009 1:23 pm

Post by MikeG
Sun Dec 27, 2009 1:23 pm

Here's C# source for messing around with Dynamixel AX-12 packets.
http://forum.agaverobotics.com/viewtopic.php?f=9&t=8
Here's C# source for messing around with Dynamixel AX-12 packets.
http://forum.agaverobotics.com/viewtopic.php?f=9&t=8
MikeG
Robot Builder
Robot Builder
Posts: 18
Joined: Fri Dec 25, 2009 5:37 am


5 postsPage 1 of 1
5 postsPage 1 of 1