Hello, I need help implementing a better AGV charge station. Currently it works, but has some issues and I'd like some help improving it. Currently by "work" I mean that when an AGV arrives at a control point that is designated as a "ChargeStation" in the "Way Point" menu, it will begin charging. The problem is that it will continue charging even if it is not on a control point. In the video I've attached you can see that AGV03 is charging even though it is off a control point and in motion. The logic I would like to have is to check if the AGV is stopped on a control point (0 speed) and if it's been there for more than X seconds, then begin charging, otherwise don't charge. This will eliminate a "drive-by" charging scenario, which isn't realistic. The .zip file contains the model and a short video of the issue (agv-charge-stations.zip).
Thanks!