Development, control, and monitoring of foam produced during rotational moulding