On 3/2/15 11:33 AM, Niemand Sonst wrote: > I am working on gmoccapy to make it able to handle also gantry kins. As > you know there are more joints than axis on a gantry. > I was surprised to see, that hal_glip.py and also hal_actions.py do > return a not_all_homed signal, even if all joints are homed! > > As far as I see, it is caused because both do check: > > if count == axis_count: > > but as on a gantry count will be 4 and axis_count will be 3, it will > return False in case all joints are homed.
Seems like the correct fix is: if count == joint_count I dont know if the joint count is available to you at that place in the code. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers