TinWhiskers / openpnptw

Open Source SMT Pick and Place Hardware and Software
http://openpnp.org
GNU General Public License v3.0
2 stars 1 forks source link

Hitting auto offsets for every movement #2

Open FlyingLotus1983 opened 9 years ago

FlyingLotus1983 commented 9 years ago

Recently some code was added that would dynamically update the tool offsets based on which tool was being moved. It works great for Nozzles but for PasteDispenser it is re-doing the offset check every time it tries to make a move. It should only check when switching between Nozzle and PasteDispenser. Jason suspects that something is causing a Nozzle move, just gotta figure out what.

NOTE: This is again less important with EE2, and is related to #10. With EE2 we'd probably just check all the offsets at machine startup or before starting a job and call it good.

vonnieda commented 9 years ago

I added some code that would dynamically update the tool offsets based on which tool was being moved. It works great for Nozzles but for PasteDispenser it is re-doing the offset check every time it tries to make a move. It should only check when switching between Nozzle and PasteDispenser. I suspect that something is causing a Nozzle move, just gotta figure out what.

This is again less important with EE2, and is related to #10. With EE2 we'd probably just check all the offsets at machine startup or before starting a job and call it good.

FlyingLotus1983 commented 9 years ago

Thanks, I updated the description.