After calculating orientation, position and determining FO and FC events, temporal and spatial parameters were estimated for each gait cycle n. Temporal parameters—stride, swing and stance duration—were determined as defined in [14]. Cadence was obtained as the inverse of stride duration, expressed in steps per minute. Spatial parameters (illustrated in Figure 2) were calculated using information of moving intervals, defined by the temporal bounds of and . To estimate SL and SW, we used trajectories on the horizontal plane, , as determined by Equations (12) and (13), where represents a displacement vector relative to the final stride position at , obtained as ). In Equation (13), the symbol ∠ denotes the angle between two vectors.
Gait speed was obtained by dividing SL by its corresponding stride duration.
To calculate MTC, we used a method inspired on the work by Kanzler, C. [9]. To estimate toe trajectory, we have first estimated the distance between the sensor and the toe, r, using as a basis the angle produced by the foot at FO, , in each gait cycle n, as illustrated in Figure 4.
Variables involved in the calculation of toe trajectory.
To obtain the angle , we did a series of vector transformations. First, we have converted the vertical vector to sensor coordinates, using the quaternion at the beginning of the moving interval, i.e., at the foot flat at . Then, we transformed the resultant vector back to global coordinates using the quaternion at FO. This vector, , was used to estimate the medio-lateral vector, , using the cross product between and . The forward vector, , was calculated using the cross product between and , which was then converted back to sensor coordinates using the quaternion at . This vector, , parallel to the ground at foot flat and pointing forward towards the toes, was used to estimate the angle , as depicted in Equation (14).
The distance between the sensor and the toe (r) was obtained by the average of the values determined in each stride n, as shown in Equation (15).
where N is the total number of strides and represents the z component of the trajectory of the sensor (i.e., its vertical displacement). MTC was considered the minimum peak vertical toe displacement measured during the swing phase of walking. This vertical displacement, , was estimated as shown in Equation (16), where represents the vertical distance between the sensor and the toe (shown as in Figure 4).
To calculate turning angles, we converted an arbitrary horizontal vector (e.g., the vector ) to sensor coordinates, using as basis the quaternions estimated at and at . The resultant vectors represented the orientation of the sensor in the horizontal plane, so that the angle between these two vectors corresponded to the turning angle.
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.
 Tips for asking effective questions
+ Description
Write a detailed description. Include all information that will help others answer your question including experimental processes, conditions, and relevant images.