"Cannot home except in Joint mode"

More
12 Jun 2022 16:15 #245008 by dannym
I have a button for "Home All" on my MPG.  It works fine, except if you're already homed (teleop/world mode), it will respond to the Home All button on the control panel, but NOT the button on the XHC, gives an error message about not being able to home unless you're back in Joint mode.

net homeButton       xhc-hb04.button-home =>    debounce.0.0.in
net homeCmd          debounce.0.0.out  => halui.home-all

Do you NEED to home-all if already done?  Well, this would come up if you jammed a motor (open loop steppers).  Also, this is a community makerspace with a large user base of varying skill levels and it's best to avoid changes- this was possible under the prior 

What's the best way to do this?  Should I make this cause a one-shot pulse to dehome the axes and then a delayed pulse to halui.home-all?  Can I just fanout and strobe both the dehome-axes and halui.home-all at the same time or is that a race condition?

 

Please Log in or Create an account to join the conversation.

More
12 Jun 2022 19:18 #245017 by cmorley
Are you saying halui.home-all doesn't work after you have homed everything?
That sounds like a bug in halui.

try setting halui.mode.teleop to false first

Please Log in or Create an account to join the conversation.

Time to create page: 0.193 seconds
Powered by Kunena Forum