Elasticity Measurements of Expanded Foams using a Collaborative Robotic Arm