When customer "grab" some item by taking it from tray via "pick on a selected feeder" or during "job" - "discard" button work as expected - head moves to discard place, than "drop" item to "discard" location.
So, logic for "discard" is "move to location and "drop" item". That's OK and it should work this way.
But when I move nozzle manually to some location and "grab" item via "actuator -> vacuum on" "discard" doesn't work, because openpnp think, that's nozzle doesn't have anything, so, when I press "discard" openpnp do nothing. this is not OK.
Let me explain. I'm work in embedded area for 20+ years, so, I learn just from begging, that's if someone press "STOP" button I must perform "stop" procedure ever if all my stats say, that's system doesn't moving.
As I think the same situation with" discard" - if user press "discard" he see by his eyes, that's nozzle hold some item and that's why he press "discard" - to discard this item
"discard" button situated on the "special" tab, so, firstly user must click "special", than found "discard "and press it. So, if customer press "discard" he doesn't made it "occasionally"
If someone from development team know how to fix this issue - please fix it :)
Regards, Evgenij