sensor-based material flow planning