A bio-inspired approach for regulating and measuring visco-elastic properties of a robot arm