Today I integrated the klicky macros with my slideswipe probe, but this required a couple of modifications. Since the probe needs to slide in and out of the servo dock, the attach/dock macros need more steps than usual.
The dock, when extended, has a channel that runs along the y axis in which the probe will need to slide in and out
Attach:
move to dock pos - x offset
extend dock
move to dock pos (attach)
move to dock pos + y offset (slide off)
move to dock pos - x offset + y offset (move out of the dock when retracting)
retract dock
Dock:
move to dock pos + y offset
extend dock
move to dock pos (slide on)
move to dock pos - x offset (dock)
[optional] move to dock pos - x offset + y offset (keep attack and dock procedure the same length and pattern)
retract dock
For my implementation I used the stock variables used for klicky (attachmove_x/y, dockmove_x/y) plus the attachmove2_x/y variables. The dock operation also uses attachmove2_x/y so I had to integrate those variables into the macro.
Let me know if it could be an interesting integration, my code is specific to slideswipe but I'm sure it could be integrated to work as usual when this particular case isn't occurring
If this attach/dock movements are already supported please let me know, but to my knowledge they aren't
Today I integrated the klicky macros with my slideswipe probe, but this required a couple of modifications. Since the probe needs to slide in and out of the servo dock, the attach/dock macros need more steps than usual.
The dock, when extended, has a channel that runs along the y axis in which the probe will need to slide in and out Attach:
Dock:
For my implementation I used the stock variables used for klicky (attachmove_x/y, dockmove_x/y) plus the attachmove2_x/y variables. The dock operation also uses attachmove2_x/y so I had to integrate those variables into the macro.
Let me know if it could be an interesting integration, my code is specific to slideswipe but I'm sure it could be integrated to work as usual when this particular case isn't occurring
If this attach/dock movements are already supported please let me know, but to my knowledge they aren't