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

Coding issues for bioloid I/O module software

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

Coding issues for bioloid I/O module software

Post by JonHylands » Thu Mar 01, 2007 8:12 pm

Post by JonHylands
Thu Mar 01, 2007 8:12 pm

Questions:

- When the baud rate register is changed with WRITE_DATA, do you send the response packet back using the old baud rate, or the new one?

- When the device ID is changed with WRITE_DATA, is the response packet sent back with the old ID, or the new ID?

The way I have my code implemented now, in both cases it uses the new value for the response packet.

It would be fairly simple to switch the order of updating the control table versus writing the response packet if both of these should be the other way around.

Thoughts?

- Jon
Questions:

- When the baud rate register is changed with WRITE_DATA, do you send the response packet back using the old baud rate, or the new one?

- When the device ID is changed with WRITE_DATA, is the response packet sent back with the old ID, or the new ID?

The way I have my code implemented now, in both cases it uses the new value for the response packet.

It would be fairly simple to switch the order of updating the control table versus writing the response packet if both of these should be the other way around.

Thoughts?

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

Post by Pev » Thu Mar 01, 2007 8:45 pm

Post by Pev
Thu Mar 01, 2007 8:45 pm

Jon,

In the AX-12 manual in the change ID example (page 19 at the bottom, page 20 top) it states that the new ID is sent on a broadcast address and no status packet is returned, so I think that when an ID is changed no status packet is expected.

Also they have an example of a baud rate change example on page 24. It does show a return packet but I haven't really taken it apart to see what it does.

Not sure if this will help

Pev
Jon,

In the AX-12 manual in the change ID example (page 19 at the bottom, page 20 top) it states that the new ID is sent on a broadcast address and no status packet is returned, so I think that when an ID is changed no status packet is expected.

Also they have an example of a baud rate change example on page 24. It does show a return packet but I haven't really taken it apart to see what it does.

Not sure if this will help

Pev
Carl
-------------------------
www.alt-view.co.uk
Pev
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 547
Joined: Sun Feb 26, 2006 1:00 am
Location: UK


2 postsPage 1 of 1
2 postsPage 1 of 1