Parameter Optimization of Optical Six-Axis Force/Torque Sensor for Legged Robots