Hello Charles, Thank you, that did the trick. Michel
Op dinsdag 16 mei 2017 12:51:21 UTC+2 schreef Charles Steinkuehler: > > On 5/16/2017 2:18 AM, michelvand...@gmail.com <javascript:> wrote: > > Hello Jeff, > > I have tried to add the PID loop to my setup. I copied the code from the > Xylotek > > HAL and Config file. But for some reason when I feed the PID loop output > into > > the velocity command, the motors don't move at all. When i feed the PID > output > > into the position command the machine starts moving but completly > uncontrolable. > > You need to run the stepgen in velocity mode, not position mode: > > http://www.machinekit.io/docs/man/man9/hal_pru_generic/ > > setp hpg.stepgen.00.control-type 1 > > -- > Charles Steinkuehler > cha...@steinkuehler.net <javascript:> > -- 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 machinekit+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.