ur5_ROS-Gazebo icon indicating copy to clipboard operation
ur5_ROS-Gazebo copied to clipboard

How can I adjust the speed of the red box and the arm?

Open wfc199821 opened this issue 6 years ago • 2 comments
trafficstars

Hi,lihuang3,I want to adjust the speed of the red box and the arm.I have tried modify the configuration file(joint_limits.yaml),the robot arm can grab the box,but then it fell off.I hope the box and arm can move fast,but now I don't know how to make it.Hope then you can give some suggestions,thanks.

wfc199821 avatar May 28 '19 05:05 wfc199821

@wfc199821 As for the arm, you need to change the speed limit of the UR5, which is out of the scope of this project. @Haoran-Zhao Can you help him/her with the box speed?

lihuang3 avatar May 28 '19 15:05 lihuang3

@wfc199821 you can change the speed of the red box in the file blocks_spawner.cpp. the movement of the red box is generated by apply body wrench. apply_wrench_req.wrench.force.x = -5.1; apply_wrench_req.wrench.force.y = 0.0; apply_wrench_req.wrench.force.z = 0.0; apply_wrench_req.start_time = time_temp; apply_wrench_req.duration = duration_temp; apply_wrench_req.reference_frame = "world";

Haoran-Zhao avatar May 28 '19 17:05 Haoran-Zhao