Mathematical Function to PID controller

Typically: "How do I... ", "How can I... " questions
Post Reply
Posts: 44
Joined: 24 Feb 2015, 17:06

Mathematical Function to PID controller

Post by DannyYeong » 15 Jul 2015, 09:33


I've implemented a mathematical function that balances an object in the translational axis. Normally a PID would contain the 3 K values for adjusting, but my mathematical function contains different input parameter and one output where I'll have to change the constants in order to adjust. What's the "bridge" between the mathematical function and the PID controller? For example in Matlab, we can change the 3 K values to control an object.


Site Admin
Posts: 6967
Joined: 14 Dec 2012, 00:25

Re: Mathematical Function to PID controller

Post by coppelia » 15 Jul 2015, 13:06

Hello Danny,

if you need a custom controller (e.g. not a PID or spring/damper controller), you will have to use a joint control callback script: in there, you can implement any type of controller you wish.


Post Reply