-
Notifications
You must be signed in to change notification settings - Fork 2
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
robot arm joint velocity controller gains not compatible with moveit #1
Comments
Velocity and effort controlled hardware interface in gazebo may cause this issue. See ros-industrial/universal_robot#231 (comment). moveit config issue, please see: STOMP planner and moveit. Another related trajectory execution error
This issue caused by moveit planning aborted and the robot cannot reach the goal. Then a new trajectory will be affected. More details please sse ros-controls/ros_controllers#48, ros-controls/ros_controllers#144. Gazebo controller issue, please see Controller failed with error code GOAL_TOLERANCE_VIOLATED. In real robot control, we may not get this issue, because the real robot may not use ros-control, so they will not report tolerance error to moveit, and the controller parameters are different from gazebo controller. ROS control related issues, please see: ros-controls/ros_controllers#300, ros-controls/ros_controllers#48, ros-controls/ros_controllers#46. |
There are some relationships between joint controller config and the output error from joint trajectory controller which also reported by MoveIt!. Our joint trajectory controller config file is: arm_gazebo_controller:
type: velocity_controllers/JointTrajectoryController
joints:
- shoulder_pan_joint
- shoulder_lift_joint
- elbow_joint
- wrist_1_joint
- wrist_2_joint
- wrist_3_joint
constraints:
goal_time: 0.6
stopped_velocity_tolerance: 0.5
shoulder_pan_joint: {trajectory: 0.3, goal: 0.1}
shoulder_lift_joint: {trajectory: 0.75, goal: 0.2}
elbow_joint: {trajectory: 0.75, goal: 0.2}
wrist_1_joint: {trajectory: 0.3, goal: 0.1}
wrist_2_joint: {trajectory: 0.3, goal: 0.1}
wrist_3_joint: {trajectory: 0.3, goal: 0.1}
gains:
shoulder_pan_joint: {p: 1.2, i: 0.0, d: 0.1, i_clamp: 1}
shoulder_lift_joint: {p: 1000, i: 0.1, d: 0.2, i_clamp: 1}
elbow_joint: {p: 1.2, i: 0.0, d: 0.1, i_clamp: 1}
wrist_1_joint: {p: 1.2, i: 0.0, d: 0.1, i_clamp: 1}
wrist_2_joint: {p: 1.2, i: 0.0, d: 0.1, i_clamp: 1}
wrist_3_joint: {p: 1.2, i: 0.0, d: 0.1, i_clamp: 1}
stop_trajectory_duration: 0.5
state_publish_rate: 125
action_monitor_rate: 10 The parameter The parameter |
Another thing related is about |
Resolved! Suggest using joint position controller currently. |
Using moveit planning to control the robot arm to move, we get the trajectory module warning, and robot arm may not get the target position exactly.
I think we should blame arm controller gains.
The text was updated successfully, but these errors were encountered: