Let me start this off by saying this is by no means an exhaustive guide and I myself am very new to this! However, hopefully this helps someone out who comes across the same sorts of issues I have… namely, running hammers into endstops and trying to figure out a solution. Scott (Attitude Adjuster) and Alex (Saw Loser) were both invaluable in their knowledge.
This will work for you if you have an OpenTX transmitter and can use the OpenTX Companion software for it.
I never used ‘logical switches’ until this and taught myself they are pretend switches that can turn on or off in particular circumstances.
Here, Logical Switch 1 ‘L01’ is triggered on for only 0.5 seconds when one of the shoulder buttons on my transmitter is pushed down (at 100). Logical Switch 2 ‘L02’ is triggered on for 0.5 seconds when that same button is released (at -100)
Then, we can use those logical switches as ‘real’ switch inputs for the special functions - so when Logical Switch 1 ‘L01’ is on (for 0.5s when the button is pushed etcetc) the hammer is sent at max power, then when Logical Switch 2 ‘L02’ is on (for 0.5s when button released) it retracts at 50%
I’m sure there are nicer implementations of this but I had no time and just wanted to send it, as seen in the video up there. Have a play if this is useful to you, it made using a hammer much more intuitive at LHG last weekend!
My ant hammer bip! runs a servo hammer, so I had it set up with a basic override on a shoulder button - press it down, hammer goes forward. Let it go, no override, hammer returns to zero throttle.
L01 and L02 carry out the basic ‘if button SE is held down, hammer is forward’ function - Special Functions SF2 and SF3 (button down, send hammer to -10 throttle - forward, for this robot, button unpressed, bring it back), but with the added bonus that this function only works if the switch behind it, SC, is in the back position.
If SC is in the forward position and the button SE is pressed, this activates switch L04, which itself is used as a trigger for L03. L03 is a timer switch, so when triggered will alternate between on and off in the durations shown in V1 and V2 - so forward for 0.1, back for 0.1, and so on. This is then used to fire special function SF4, to fire and return the hammer.