No p gain specififed even when specified in control.yaml
Hey,
I recently installed Ros and Gazebo on a new system. When launching I keep getting the error
[ERROR] [1558337209.098208864]: No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/imu_joint1
[ERROR] [1558337209.100105299]: No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/imu_joint2
[ERROR] [1558337209.101583263]: No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/imu_joint3
even though I have specified the PID values in a .yaml file. Im not sure if related but while closing I also get the error
Controller Spawner error while taking down controllers: transport error completing service call: receive_once[/controller_manager/switch_controller]: unexpected error
Thanks
Asked by Withered_Shadow on 2019-05-19 21:55:53 UTC
Answers
You haven't specified the pid parameters correctly.
The correct format is described in this answer to the question linked in the comment above.
Also note that, as discussed in the (now) accepted answer is that this is actually not an error but a notification that you are not using a pid controller but rather the gazebo default.
Asked by mgruhler on 2019-05-20 02:57:44 UTC
Comments
Thanks for the help. Got it working
Asked by Withered_Shadow on 2019-05-20 03:23:45 UTC
Comments
does #q293830 help?
It seems odd to me that the error message is actually putting
<joint_name>
in there...Please share your
control.yaml
for further support.(I don't think the spawner error is related...)
Asked by mgruhler on 2019-05-20 02:16:25 UTC
Here I have attached the control.yaml
link text
Asked by Withered_Shadow on 2019-05-20 02:30:09 UTC
SUMMARY ========
Asked by Withered_Shadow on 2019-05-20 02:35:33 UTC