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

Dynamixel Instruction

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
17 postsPage 2 of 21, 2
17 postsPage 2 of 21, 2

instruction

Post by ryann2k1 » Thu Sep 20, 2007 7:28 am

Post by ryann2k1
Thu Sep 20, 2007 7:28 am

JonHylands wrote:I use SYNC_WRITE constantly with all my Bioloid stuff. All the walk sequences of MicroRaptor and BrainBot are all done strictly with SYNC_WRITE.
- Jon


I am still curious about what exactly the difference between SYNC_WRITE and REG_WR +ACTION?

cheers

ryann2k1
JonHylands wrote:I use SYNC_WRITE constantly with all my Bioloid stuff. All the walk sequences of MicroRaptor and BrainBot are all done strictly with SYNC_WRITE.
- Jon


I am still curious about what exactly the difference between SYNC_WRITE and REG_WR +ACTION?

cheers

ryann2k1
ryann2k1
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 154
Joined: Thu Nov 16, 2006 1:00 am

Post by JonHylands » Thu Sep 20, 2007 11:20 am

Post by JonHylands
Thu Sep 20, 2007 11:20 am

The main difference is you can set the position and speed of all the servos on your bus with one instruction. If you're trying to run at 30 Hz, and you've got 20 servos, you're looking at 600 instructions per second using REG_WRITE and ACTION, versus 30 instructions per second using SYNC_WRITE.

Plus, unless you turn off the response mode of your servos, you also have to wait for a response from each of those 600 commands before you can send the next.

Ideally, you need the time to actually read values from the servos. A single SYNC_READ followed by a set of READ_DATA instructions is much simpler.

- Jon
The main difference is you can set the position and speed of all the servos on your bus with one instruction. If you're trying to run at 30 Hz, and you've got 20 servos, you're looking at 600 instructions per second using REG_WRITE and ACTION, versus 30 instructions per second using SYNC_WRITE.

Plus, unless you turn off the response mode of your servos, you also have to wait for a response from each of those 600 commands before you can send the next.

Ideally, you need the time to actually read values from the servos. A single SYNC_READ followed by a set of READ_DATA instructions is much simpler.

- Jon
JonHylands
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 512
Joined: Thu Nov 09, 2006 1:00 am
Location: Ontario, Canada

Previous
17 postsPage 2 of 21, 2
17 postsPage 2 of 21, 2