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

Sync Write

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

Sync Write

Post by nknotts » Sun Jun 03, 2007 6:52 am

Post by nknotts
Sun Jun 03, 2007 6:52 am

Hey Guys,
I'm trying to implement sync write and am running into some problems.

I am sending to 4 servos (id 1:4) to address 32 (0x20) with a value of 1023 (0x03ff) to each one. My command packet is as follows...
ff ff fe 10 83 20 4 1 ff 3 2 ff 3 3 ff 3 4 ff 3 38

The command is successfully sent but the servos dont start moving (I have them set for continuous rotation) If i set them all individually, it works great (although much slower)

Any clues as to where my command packet is wrong?

Thanks,

Nate
Hey Guys,
I'm trying to implement sync write and am running into some problems.

I am sending to 4 servos (id 1:4) to address 32 (0x20) with a value of 1023 (0x03ff) to each one. My command packet is as follows...
ff ff fe 10 83 20 4 1 ff 3 2 ff 3 3 ff 3 4 ff 3 38

The command is successfully sent but the servos dont start moving (I have them set for continuous rotation) If i set them all individually, it works great (although much slower)

Any clues as to where my command packet is wrong?

Thanks,

Nate
nknotts
Newbie
Newbie
Posts: 3
Joined: Sun Jun 03, 2007 6:47 am

Post by JonHylands » Sun Jun 03, 2007 12:48 pm

Post by JonHylands
Sun Jun 03, 2007 12:48 pm

Your problem appears to be the '4' in position 7 - that is the # of bytes you are writing for each servo, and should be 2 in this case.

This is what I get:

ff ff fe 10 83 20 02 01 ff 03 02 ff 03 03 ff 03 04 ff 03 3a

- Jon
Your problem appears to be the '4' in position 7 - that is the # of bytes you are writing for each servo, and should be 2 in this case.

This is what I get:

ff ff fe 10 83 20 02 01 ff 03 02 ff 03 03 ff 03 04 ff 03 3a

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

Post by nknotts » Sun Jun 03, 2007 5:27 pm

Post by nknotts
Sun Jun 03, 2007 5:27 pm

Jon,
You were right! It works great, thanks for your help
Jon,
You were right! It works great, thanks for your help
nknotts
Newbie
Newbie
Posts: 3
Joined: Sun Jun 03, 2007 6:47 am


3 postsPage 1 of 1
3 postsPage 1 of 1