I can send you a patch file that shows what I did. It also disables the $ hotkey so I don't accidently switch modes with my fat fingers. It isn't perfect. If you need to rehome, you need to press the home-all button twice - I'm not sure why, but it is close enough.
I don't know if this was the best way of doing it. I use the user_live_update callback which is called regularly. I couldn't find an event that was triggered when home all was complete. The change was made to src/emc/usr_intf/axis/scripts/axis.py from a couple of days ago. > -----Original Message----- > From: Viesturs Lacis [mailto:viesturs.la...@gmail.com] > Sent: Monday, 31 October 2011 9:19 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Jog speed excedes axis max velocity > > Hello! > > My apologies for not answering Your question, I would like to ask, if You > could explain in more detail, how does this thing work: > > AUTO_WORLD_AFTER_HOMEALL=1 > > I have been trying to implement automatic switching to world mode after all > joints are homed, but those attempts have been unsuccessful so far - always > something is missing. Mostly I have tried using joint.n.is-homed and > halui.mode.is-joint pins through and5 (customized and2 with 5 inputs) and > oneshot components. > Thanks! > > Viesturs > ---------------------------------------------------------------------------- -- > Get your Android app more play: Bring it to the BlackBerry PlayBook in > minutes. BlackBerry App World™ now supports Android™ Apps for > the BlackBerry® PlayBook™. Discover just how easy and simple it is! > http://p.sf.net/sfu/android-dev2dev > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users
0002-Add-AUTO_WORLD_AFTER_HOMEALL-to-DISPLAY-section-of-..patch
Description: Binary data
------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users