EtteGit / EnragedRabbitProject

GNU General Public License v3.0
2.38k stars 338 forks source link

Improvement: Track the homing status of the selector #134

Open eamars opened 2 years ago

eamars commented 2 years ago

I came across this idea when working on my ERCF code. Hopefully my proposed solution could improve the overall robustness of the selector motion.

The idea is to mimic the current printer design, that is, when the axis is not homed then it should'nt move. In this case, the selector shouldn't move if its location is unknown. This can be achieved by using an variable to track the current position, say the _current_tool. The variable got reset on

The selector move command shall use this variable to determine whether the selector is homed or whether it need to move, instead of "attempting to move" causing extra variations.

Please let me know if you have any comment on this.