Public Member Functions | |
def | __init__ |
def | CfgParam |
def | Clear |
def | Configure |
def | CopyHistory |
def | Update |
Public Attributes | |
C | |
dstate | |
istate | |
kd | |
ki | |
kp | |
name | |
omax | |
omin | |
starting |
def art_common.pid.Pid.__init__ | ( | self, | |
ctlname, | |||
kp = 1.0 , |
|||
ki = 0.0 , |
|||
kd = 0.0 , |
|||
omax = FLT_MAX , |
|||
omin = -FLT_MAX , |
|||
C = 0.0 |
|||
) |
def art_common.pid.Pid.CfgParam | ( | self, | |
pname, | |||
fvalue | |||
) |
/** @brief Configure one PID parameter * @param node node handle for parameter server -- #NOTE: Removed by David * @param pname base name for this parameter * @returns parameter value, if defined * (already set to default value). */
optname = self.name + '_' + pname if (node.getParamCached(optname, fvalue)): param_value = dvalue # convert double to float if (fvalue != param_value): # new value? rospy.info("%s changed to %.3f", optname, param_value) fvalue = param_value return fvalue
def art_common.pid.Pid.Clear | ( | self | ) |
def art_common.pid.Pid.Configure | ( | self | ) |
def art_common.pid.Pid.CopyHistory | ( | self, | |
pid | |||
) |
def art_common.pid.Pid.Update | ( | self, | |
error, | |||
output | |||
) |