PID feedback derivative

More
05 Aug 2021 15:48 #216989 by bierluiz
Hello,

I would like to sample the pin pid.N.feedback-deriv, but it is an input pin. Is there a way to do it?

Also, from the PID page: "If no signal is connected then the derivative will be estimated numerically". Where can I access this information? Is there a way to change/copy its value to an output pin?

Thank you.

Please Log in or Create an account to join the conversation.

More
05 Aug 2021 23:32 #217014 by andypugh
Replied by andypugh on topic PID feedback derivative
You should be able to get the same numerical value by using the "ddt" hal component on the feedback value.

github.com/LinuxCNC/linuxcnc/blob/master...omponents/pid.c#L376
The following user(s) said Thank You: bierluiz

Please Log in or Create an account to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum