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

controlling the speed with the dynamixel sdk?

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

controlling the speed with the dynamixel sdk?

Post by animaniac » Sun Sep 11, 2011 3:07 pm

Post by animaniac
Sun Sep 11, 2011 3:07 pm

hi, I'm learning the sdk to write my first program, but there's no information on how to reach a certain position at a certain speed, can the dynamixel speed be controlled in C++?
hi, I'm learning the sdk to write my first program, but there's no information on how to reach a certain position at a certain speed, can the dynamixel speed be controlled in C++?
animaniac
Savvy Roboteer
Savvy Roboteer
Posts: 25
Joined: Wed Aug 25, 2010 8:56 pm

Post by siempre.aprendiendo » Sun Sep 11, 2011 5:10 pm

Post by siempre.aprendiendo
Sun Sep 11, 2011 5:10 pm

Yes, it's possible. You only should set the proper paremeters:

From Robotis e-Manual
32 (0X20) Moving Speed(L)
33 (0X21) Moving Speed(H)


using the Robotis SDK function dxl_set_txpacket_parameter
Yes, it's possible. You only should set the proper paremeters:

From Robotis e-Manual
32 (0X20) Moving Speed(L)
33 (0X21) Moving Speed(H)


using the Robotis SDK function dxl_set_txpacket_parameter
siempre.aprendiendo
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 559
Joined: Wed Aug 08, 2007 9:13 pm
Location: Barcelona

Post by animaniac » Sun Sep 11, 2011 5:45 pm

Post by animaniac
Sun Sep 11, 2011 5:45 pm

thanks, what are lowest and highest byte for?
thanks, what are lowest and highest byte for?
animaniac
Savvy Roboteer
Savvy Roboteer
Posts: 25
Joined: Wed Aug 25, 2010 8:56 pm

Post by siempre.aprendiendo » Sun Sep 18, 2011 10:49 am

Post by siempre.aprendiendo
Sun Sep 18, 2011 10:49 am

High-Low is the order of the bytes, the two bytes for the value of the speed:

speed = 1000 (decimal) (03 E8, hexadecimal)

0x20 <- E8 (low, l)
0x21 <- 03 (hign, h)
High-Low is the order of the bytes, the two bytes for the value of the speed:

speed = 1000 (decimal) (03 E8, hexadecimal)

0x20 <- E8 (low, l)
0x21 <- 03 (hign, h)
siempre.aprendiendo
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 559
Joined: Wed Aug 08, 2007 9:13 pm
Location: Barcelona


4 postsPage 1 of 1
4 postsPage 1 of 1