On 3/29/2017 4:01 PM, Russell Gower wrote: > > Its the velocity estimates that are causing my issue, It is very > jittery and the pyvcp panel (a dial showing spindle speed) crashes > with a float to string error. There is a lot in that commit, I > think i’m going to split it in to two, one for the general tidy up > and type corrections and another for the period based velocity > changes and see where that leads me.
Just a guess, but there may need to be some hysteresis to the decision regarding which velocity estimator to use. Or you might be getting discontinuities because of a coding error that hasn't bothered anyone else yet. If you can wire the encoder to two sets of input pins, you could run the PRU encoder and the eQEP encoder in parallel and probably spot what's going wrong pretty quickly with halscope. -- Charles Steinkuehler [email protected] -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
