Why using WriteWord for Torque Enable in MX-28

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

Why using WriteWord for Torque Enable in MX-28

Post by petercohen » Wed Feb 13, 2013 2:02 am

Post by petercohen
Wed Feb 13, 2013 2:02 am

Hello! According to the control table for MX-28, Torque Enable in address 24 is either on or off. Can anybody explain why WriteWord which takes 2 bytes is used?

cm730.WriteWord(JointData::ID_R_SHOULDER_PITCH, MX28::P_TORQUE_ENABLE, 0, 0);

I suppose the second last 0 is for disabling the torque. What is the purpose of the last 0?
Hello! According to the control table for MX-28, Torque Enable in address 24 is either on or off. Can anybody explain why WriteWord which takes 2 bytes is used?

cm730.WriteWord(JointData::ID_R_SHOULDER_PITCH, MX28::P_TORQUE_ENABLE, 0, 0);

I suppose the second last 0 is for disabling the torque. What is the purpose of the last 0?
petercohen offline
Savvy Roboteer
Savvy Roboteer
Posts: 58
Joined: Tue Jul 19, 2011 5:19 am

Post by Fritzoid » Wed Feb 13, 2013 3:25 pm

Post by Fritzoid
Wed Feb 13, 2013 3:25 pm

Maybe they want to turn off the LED also, and were too lazy to mention it. Or the LED was already off and nobody noticed. Either way it looks like just a silly error to me.
Maybe they want to turn off the LED also, and were too lazy to mention it. Or the LED was already off and nobody noticed. Either way it looks like just a silly error to me.
Fritzoid offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 331
Joined: Mon Dec 18, 2006 1:00 am

Post by petercohen » Tue Feb 19, 2013 3:20 am

Post by petercohen
Tue Feb 19, 2013 3:20 am

Thank you
Thank you
petercohen offline
Savvy Roboteer
Savvy Roboteer
Posts: 58
Joined: Tue Jul 19, 2011 5:19 am

POLO bags men classic fashion new stlye cheap for sale onlin

Post by hwatchtcwatc » Wed Mar 27, 2013 7:58 am

Post by hwatchtcwatc
Wed Mar 27, 2013 7:58 am

<title>POLO bags men classic fashion new stlye cheap for sale online</title>
<meta http-equiv="Co
<title>POLO bags men classic fashion new stlye cheap for sale online</title>
<meta http-equiv="Co
hwatchtcwatc offline
Newbie
Newbie
Posts: 2
Joined: Wed Mar 27, 2013 6:56 am

Post by siempre.aprendiendo » Wed Mar 27, 2013 10:52 am

Post by siempre.aprendiendo
Wed Mar 27, 2013 10:52 am

May be they want to "standardize" the types.

If there is enough memory is good to use one unique type parameters, because diversity in similar objects/parameters/variables is very error prone and difficult to catch.
May be they want to "standardize" the types.

If there is enough memory is good to use one unique type parameters, because diversity in similar objects/parameters/variables is very error prone and difficult to catch.
siempre.aprendiendo offline
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 559
Joined: Wed Aug 08, 2007 9:13 pm
Location: Barcelona


5 postsPage 1 of 1
5 postsPage 1 of 1
cron