-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Velocity Mode Reverse #83
Comments
Hi @WilliamH07 I'm sorry about the delayed response. Unlike other X series, the range of velocity of XL-320 is 0 ~ 2047, and as described in the Moving Speed(32) section of the XL-320 eManual, the CW rotation is achieved by sending a value between 1024 and 2047. For example, 1024 (0x400) is 0 in the CW direction, and 2047 (0x7FF) is the maximum speed in the CW direction. Thanks you. |
Hello @WilliamH07 The following loop() code allow me to control the direction of the DYNAMIXEL with raw values (*Make a simple code change from Dynamixel Shield Example: velocity_mode ) Please feel free to test it.
|
Hello, |
Hello,
I recently wanted to use a joystick for my robot arm to control a XL320, it's working perfectly but when I modify the code to make it move in reverse nothing is happening. I really don't understand why in velocity mode with RAW UNIT it's not working but with percent it's working. Since I use a joystick I need to use the RAW unit. I post the code I use below. Btw I use a PS5 controller as the joystick in bluetooth with a shield. Even when I put a negative number instead of the input of the ps5 controller nothing is happening
Thanks,
WilliamH07
The text was updated successfully, but these errors were encountered: