Differents PID´s for differents velocities

More
12 Sep 2013 19:23 #38696 by casetero
Hi,

Now i have a fast thread (base-thread) and one slow thread (servo-thread).

Base thread is not used by any component because im working with MESA cards.

So i have just one slow thread (1.000.000 ns) wich allows fp maths, that have linked all the components of my system ( pid.n.do-pid-calcs included).

I have linked lincurve.N to this thread too.

Do i need to create a slower thread to link lincurve, or maybe create another thread faster than servo-thread to link pid.n.do-pid-calcs, motion-controller and motion-command-handler ??

Or is nice as it is now?

Thank you.

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

More
12 Sep 2013 19:41 #38698 by andypugh

Or is nice as it is now?


Yes, it's fine as you have now.

In fact if you want, you can remove the base thread, as you don't need it.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum