Development of an ankle testing device with three degrees of freedom