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

PID question

asked 2013-10-28 15:07:23 -0600

rnunziata gravatar image

Under what condition would the PID error vector be greater then the set point vector (command sent). This is happening to me using the gazebo ros plugin. Related question is there a way to turn off the PID process in the plugin to run some test.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-10-28 23:44:49 -0600

Adolfo Rodriguez T gravatar image

Under what condition would the PID error vector be greater then the set point vector (command sent).

Many situations can lead to controller commands being smaller than the error. This is determined by the expression of the PID itself, and depends on the values of the gains and the error signal. Low gains are the most straightforward example, but others exist.

Simple PD controller example(cmd = Kp * e + Kd * e_dot): You'll get a zero command whenever Kp * e = -Kd * e_dot.

Related question is there a way to turn off the PID process in the plugin to run some test.

You can set the gains to zero, but then there will be no control action, only the natural dynamics of your system.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-10-28 15:07:23 -0600

Seen: 288 times

Last updated: Oct 28 '13