xarm_ros2
xarm_ros2 copied to clipboard
How to achieve the maximum speed of xarm using Moveit Servoing
Hi, I am using moveit xarm tutorial to move the arm using joystick, I would like to know how can I achieve the maximum speed from the xarm using move-it serving.
@Akumar201 Here is the use of servoj mode to control the robotic arm. It does not support specifying the speed, but the speed can be controlled by sending frequency. Here I provide an example of modifying some configuration parameters. You can refer to the modification and debugging to see what speed meets your needs.
- Modify xarm_controller/config/xarm6_controllers.yaml (note that the 6-axis is used as an example), and appropriately increase the
update_rate(100?) - Modify xarm_moveit_servo/config/xarm_moveit_servo_config.yaml, increase publish_period appropriately (0.1?), set
low_latency_modeto true
Thank You ! It worked , however I would like to know that what would be the limits of these values ?
@Akumar201
update_rate is the frequency at which the instructions of the controller (such as JointTrajectoryController) are updated to the hardware interface (uf_robot_hardware).
publish_period is used internally by moveit_servo, mainly to scale the sent instructions and control the frequency sent to move_group (if low_latency_mode is true, it will not control the frequency sent)
For more details, you can check the description or code of moveit_servo