JointTrajectoryController ( no p gain specified)
hello all, am trying to move multiple joints of my delta robot using JointTrajectoryController ( I am using ROS kinetic) . but i am getting the following error:
No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/Motor1_UpperArm1
No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/Motor2_UpperArm2
No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/Motor3_UpperArm3
The following is my .yaml file in the control package
delta_robot:
# Publish all joint states -----------------------------------
joint_state_controller:
type: joint_state_controller/JointStateController
publish_rate: 50
# Joint Trajectory Controller -------------------------------
delta_position_trajectory_controller:
type: position_controllers/JointTrajectoryController
# CR: Here is my point, can the urdf/transmission specification be used for joint names?
joints:
- Motor1_UpperArm1
- Motor2_UpperArm2
- Motor3_UpperArm3
gains:
Motor1_UpperArm1:
p: 10
i: 1
d: 10
Motor2_UpperArm2:
p: 10
i: 1
d: 10
Motor3_UpperArm3:
p: 10
i: 1
d: 10
any idea how to fix this issue? Anyone can attach an exemple of the yaml file to do so?
Please copy-paste the exact error message (or messages if you receive multiple). Paraphrasing makes it much more difficult for us to help you.
If you're using any packages that are publicly available, link and/or mention them. If you are using a specific configuration (or configuration files): describe it/them.