ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No p gain specified for pid. Namespace: /rrbot/gazebo_ros_control/pid_gains/joint1

This was previously discussed in question #q293830.

The way I interpret skyofyao's answer is that for some types of controllers RobotHwSim will introduce another PID loop, and this PID is intended to help model the behavior of the motor that drives the joint. This pid_gains parameter is giving you the opportunity to describe how the motor model reacts to an input that exceeds its ability, for example if a full-scale step function is input.

This is different from the PID loop in your MyPositionJointController, which is modulating the control input sent to the motor. It's very possible that this control input asks the motor to do something it can not.