Open Actat opened 1 year ago
agreement +1
I have found an unofficial way to solve my problem. Is there an official way?
https://github.com/Actat/DynamixelSDK/commit/84d759e97b83343ecc9903ff4dd73599fd23e475
Hello @Actat !
Can you please provide us with the full modifications that you did to the code.
I am at the same page, I want to use an MX-106 servo in velocity mode but I cannot get it done. I modified the code accordingly to yours @Actat 84d759e (ADDRGOALVELOCITY 104 and id 1, addresses according to my servomotor) but the motor is still in position mode !
The command lines also seem to control position mode only: ros2 run dynamixel_sdk_examples read_write_node
returns Something like "[GOAL Position: 0]"
The other command also controls position : ros2 topic pub -1 /set_position dynamixel_sdk_custom_interfaces/msg/SetPosition "{id: 12, position: 1000}"
Is there another command that you used other than these ones above ?
ISSUE TEMPLATE ver. 1.2.0
Please fill this template for more accurate and prompt support.
Which DYNAMIXEL SDK version do you use?
Which programming language/tool do you use?
C++
,ROS
Which operating system do you use?
Ubuntu 20.04
Which USB serial converter do you use?
U2D2
Which DYNAMIXEL do you use?
XM540-W150
Have you searched the issue from the closed issue threads?
127 implements velocity control using the older protocol.
221 concerns how to obtain position information while performing velocity control.
229 is about velocity control when using an Arduino.
Please describe the issue in detail I want to use the dynamixel motor in velocity control mode. I need to get position information during control. I was able to run the motor in position control mode from ROS 2 using read_write_node in dynamixel_sdk_examples. However, read_write_node does not support velocity control mode. Is there another node that supports velocity control mode?
How can we reproduce the issue?