could you not do that (wrap the rotary value) yourself?, I assume that could be written in python code and add as a hal module?
Anyone have any advice on how to do it, I am starting to read the linuxcnc docs and want to try something similar but machinekit/linuxcnc have steep learning curve and little example code to show how python user hal modules fit in with a hal config. On Sunday, 16 July 2017 16:05:44 UTC+1, Sag ich Dir nich wrote: > > Hello, > > i wanted to request a feature for Linuxcnc at > https://sourceforge.net/p/emc/feature-requests/# but "Create Ticket" is > greyed out because i have to be authorized by an admin. > > Basically its about: > > Wrapped rotary, which should reset (or set home) everytime it goes from > 359.999 to 0 or from 0 to 359.999 because it rotates back to homed 0 > everytime i start a program (if the C axis has rotated about 200 > revolutions, it s going to rotate back 200 revolutions). When the program > is finished and i home the C axis and then start the program, it rotates > maximum one revolution (depending on if the axis is at exactly 0 or 0.001). > So basically copy "Wrapped rotary" and add the resetting funtion and call > it for example "Wrapped rotary reset" so no other configuration is going to > be influenced. It would be a dream if there would be also the function that > it is going to rotate the shortest distance (from the current position) or > if the commanded position is exactly 180 degrees away from the current > position its going either cw or ccw. > -- 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.
