As an extension of this exercise, I want to check if an AGV is loaded or unloaded when it arrives at a control point. I created two tracked variables, AGVLoaded and AGVEmpty which will be incremented depending on the AGV status at the control point where the check happens.
I think it should be possible using a simple conditional decide, but it seems like I keep referencing the AGV at the control point and not its subnodes.
What is wrong here?