Weight measurement and control