Smartphone Monitoring of Gait and Balance During Irregular Surface Walking and Obstacle Crossing

As gait adaptation is vital for successful locomotion, the development of field-based tools to quantify gait in challenging real-world environments are crucial. The aims of this study were to assess the reliability and validity of a smartphone-based gait and balance assessment while walking on unobstructed and obstructed terrains using two phone placements. Furthermore, age-related differences in smartphone-derived gait strategies when navigating different walking conditions and environments were evaluated. By providing a method for evaluating gait in the simulated free-living environment, results of this study can elucidate the strategies young and older adults utilize to navigate obstructed and unobstructed walking paths. A total of 24 young and older adults ambulated indoors and outdoors under three conditions: level walking, irregular surface walking, and obstacle crossing. Android smartphones placed on the body and in a bag computed spatiotemporal gait (i.e., velocity, step time, step length, and cadence) and balance (i.e., center of mass (COM) displacement), with motion capture and video used to validate parameters in the laboratory and free-living environments, respectively. Reliability was evaluated using the intraclass correlation coefficient and validity was evaluated using Pearson's correlation and Bland-Altman analysis. A three-way ANOVA was used to assess outcome measures across group, condition, and environment. Results showed that smartphones were reliable and valid for measuring gait across all conditions, phone placements, and environments (ICC2,1: 0.606–0.965; Pearson's r: 0.72–1.00). Although body and bag placement demonstrated similar results for spatiotemporal parameters, accurate vertical COM displacement could only be obtained from the body placement. Older adults demonstrated a longer step time and lower cadence only during obstacle crossing, when compared to young adults. Furthermore, environmental differences in walking strategy were observed only during irregular surface walking. In particular, participants utilized a faster gait speed and a longer step length in the free-living environment, compared to the laboratory environment. In conclusion, smartphones demonstrate the potential for remote patient monitoring and home health care. Along with being easy-to-use, inexpensive, and portable, smartphones can accurately evaluate gait during both unobstructed and obstructed walking, indoors and outdoors.

As gait adaptation is vital for successful locomotion, the development of field-based tools to quantify gait in challenging real-world environments are crucial. The aims of this study were to assess the reliability and validity of a smartphone-based gait and balance assessment while walking on unobstructed and obstructed terrains using two phone placements. Furthermore, age-related differences in smartphone-derived gait strategies when navigating different walking conditions and environments were evaluated. By providing a method for evaluating gait in the simulated free-living environment, results of this study can elucidate the strategies young and older adults utilize to navigate obstructed and unobstructed walking paths. A total of 24 young and older adults ambulated indoors and outdoors under three conditions: level walking, irregular surface walking, and obstacle crossing. Android smartphones placed on the body and in a bag computed spatiotemporal gait (i.e., velocity, step time, step length, and cadence) and balance (i.e., center of mass (COM) displacement), with motion capture and video used to validate parameters in the laboratory and free-living environments, respectively. Reliability was evaluated using the intraclass correlation coefficient and validity was evaluated using Pearson's correlation and Bland-Altman analysis. A three-way ANOVA was used to assess outcome measures across group, condition, and environment. Results showed that smartphones were reliable and valid for measuring gait across all conditions, phone placements, and environments (ICC 2,1 : 0.606-0.965; Pearson's r: 0.72-1.00). Although body and bag placement demonstrated similar results for spatiotemporal parameters, accurate vertical COM displacement could only be obtained from the body placement. Older adults demonstrated a longer step time and lower cadence only during obstacle crossing, when compared to young adults. Furthermore, environmental differences in walking strategy were observed only during irregular surface walking. In particular, participants utilized a faster gait speed and a longer step length in the free-living environment, compared to the laboratory environment. In conclusion, smartphones demonstrate the potential for remote patient monitoring and home health care. Along with being easy-to-use, inexpensive, and portable, smartphones can accurately evaluate gait during both unobstructed and obstructed walking, indoors and outdoors.
Keywords: smartphones, gait, irregular surfaces, obstacle crossing, elderly INTRODUCTION Gait performance is an important marker of functional ability, independent living, and survival (Hardy et al., 2007;Lord et al., 2013). In particular, the ability to modify gait to suit different environmental contexts is vital for successful locomotion, especially in complex environments such as irregular surfaces or negotiating obstacles. To examine gait adaptation, most research replicated these challenging walking situations in a low-distraction laboratory setting using sophisticated equipment (i.e., motion capture systems or instrumented walkways) (Chen et al., 1994;Weerdesteyn et al., 2005;Marigold and Patla, 2008). However, these conventional systems cannot collect data from more than a few gait cycles, thus may not reflect the usual gait behavior of people during daily life.
Recently, the use of body-worn inertial measurement units (IMU) has allowed for continuous, remote data collections over extended time periods (Patel et al., 2012). Although IMUs have demonstrated excellent concurrent validity for assessing gait compared to conventional instruments (Hartmann et al., 2009), they have numerous shortcomings. Attachment of an IMU directly onto the body can lead to discomfort, and thus reduce compliance (del Rosario et al., 2015). Importantly, an IMU has a relatively high cost for commercial software packages and requires trained personnel to perform the assessment, operate the system, and interpret the data. Smartphones have thus been proposed as a potential instrument for gait evaluation. With the ubiquity of smartphones, utilizing the embedded sensors and user-friendly interface of a smartphone can allow for a cost-effective, convenient, and automated tool for assessing gait among health care providers, care givers, athletes, or patients.
Current smartphone technology has made remote and prolonged gait assessment possible. Previous studies have shown that a smartphone placed on the body or in a bag is valid and reliable for measuring spatiotemporal gait parameters during straight walking (Silsupadol et al., 2017), turning, and gait speed modulation (Silsupadol et al., 2019). While spatiotemporal gait parameters provide a basic quantification of walking quality, the center of mass (COM) motion has been used as a global measure of balance control during gait. To date, only one study has investigated the reliability and validity of the vertical COM displacement using a smartphone-based accelerometer (Furrer et al., 2015). The results demonstrated good reliability and moderate correlations when comparing the vertical COM displacement derived from a smartphone-based accelerometer against a motion capture system during level walking.
Validation of smartphone-based gait and balance assessment is currently limited to unobstructed walking. Whether the smartphone-derived validity during unobstructed walking is transferable to challenging real-world walking situations, requires further investigation. It is crucial to assess gait and balance performance under conditions that individuals, especially older adults, are likely to encounter in daily life. Aging is accompanied by deterioration in physical, cognitive, and psychological health that are essential for effective propulsion and balance control, consequently putting the elderly at a greater risk for falls. In particular, a large proportion of falls in older people occur outdoors (51-81%) and are initiated by tripping either on irregular walking surfaces (44%) or on a discrete object (37%) (Li et al., 2006;Robinovitch et al., 2013).
Since gait adaptation is a key requirement for successful locomotion and falls among older adults mostly occur outdoors while walking on irregular surfaces and negotiating obstacles, it is essential to have a valid, user-friendly, and costeffective measurement system that can quantitatively and continuously assess gait in the free-living environment. As phones are generally carried in different locations, the effect of placement requires investigation. Furthermore, no studies have utilized smartphones to investigate age-related gait and balance performance during a variety of challenging conditions. Therefore, the purposes of this study were: (1) to assess the reliability and validity of a smartphone-based accelerometer in determining spatiotemporal gait and COM displacement during level walking, irregular surface walking (continuous perturbation), and obstacle crossing (discrete perturbation) in both laboratory and free-living environments; (2) to examine inter-placement validity of two identical Android smartphones placed on the body and in a bag; and (3) to evaluate differences in walking strategy among young and older adults across walking condition and environment. We hypothesized that a smartphone-based evaluation of spatiotemporal gait parameters and COM displacement would be reliable and valid across walking conditions and environments, when placed either on the body or in a bag. We further hypothesized that a smartphonebased assessment would elucidate age-related differences in gait performance across environment when negotiating various walking surfaces and obstacles.

Participants
Young (18-35 years old) and older (65 years or older) adults were recruited into the study through leaflets and announcement through community leaders and primary health care providers. All participants were able to walk at least 10-m without the assistance of another person or walking aid. Exclusion criteria included unstable medical conditions, having visual impairment uncorrectable with lenses, and having lower limb amputation or arthroplasty. This study was approved by the university's research ethics committee (number AMSEC-61EX-043). All participants provided written informed consent prior to enrollment.

Experimental Design
Following informed consent, participants' demographic and anthropometric information such as age, gender, and leg length were recorded. During laboratory trials, a total of 28 retroreflective markers were positioned on bony landmarks of the body, using a modified Helen Hayes marker set (Hahn and Chou, 2004). Participants' gait was evaluated using a ninecamera motion analysis system (Motion Analysis Corp., Santa Rosa, CA), which collected three-dimensional marker trajectories at 120 Hz. In the free-living environment, a video camera recorded participants' gait at 30 Hz. During all walking trials, participants carried two Android smartphones (Samsung J7+ Android 7.1.1; 152.4 × 74.7 × 7.9 mm). One smartphone was attached horizontally at the level of the third lumbar vertebrae using a secure belt pouch (Figure 1). The second smartphone was placed vertically inside a shoulder bag (13 × 20 cm) and rested on the right hip.
Participants were asked to walk 10 m at their self-selected comfortable speed under three conditions indoors and outdoors: (1) level walking; (2) irregular surface walking; and (3) obstacle crossing. The controlled laboratory environment was quiet and clutter-free, whereas the simulated free-living environment included a level pedestrian walkway connected to a parking lot, coffee shop, and classrooms. For the irregular surface task performed in the laboratory, a walkway was constructed from 16 irregular terrains (0.6 × 1.2 m) to create a 9.6 × 1.2 m grid. Each terrain consisted of eight plywood pieces (width × height × thickness of 30 ×30 × 0.9 cm) elevated from a level surface using dowels of 0.7-1.6 cm to produce anterior-posterior (AP) or medial-lateral (ML) disturbances (Figure 2A). For the irregular surface condition in the free-living environment, an uneven 10m portion of a sidewalk located near a parking lot and street was FIGURE 1 | Placement of the two smartphones in a shoulder bag and on the lumbar spine during all walking trials. During laboratory walking trials, reflective markers were placed on bony landmarks of the body while the participant wore a body suit. utilized ( Figure 2B). For both environments, during the crossing over an obstacle trial, a light-weight plastic obstacle set at a height of 20 cm was placed in the middle of the walkway, to resemble a curb height found in real-life situations.
With three trials performed for each of the three walking conditions across two environments, a total of 18 trials were performed by each participant, with all trials completed during a single visit. The order of all conditions was randomized, with the order of environmental setting counterbalanced. Mean values for each walking condition were used for further analysis.

Data Acquisition and Analysis
A custom-built Android application, Gait Analyzer (Lugade, 2018), was utilized to collect the smartphone's tri-axial accelerometer (STM LSM6DSL, 39.2 m/s 2 range; 1.20 × 10 −3 m/s 2 resolution) data at 50 Hz. All acceleration data were downloaded following completion of the data collection and analyzed offline using custom written programs in MATLAB (Mathworks Inc., Natick, MA).
Data across all three axes were filtered using a 4th order low-pass Butterworth filter with a 20 Hz cutoff frequency. AP accelerations were further filtered using a Butterworth 4th order low-pass filter with a cutoff frequency of 2 Hz. Positive peaks in the filtered AP direction were used to identify heel strikes. Gait measures were calculated from the acceleration data and heel strike timing events, with this methodology previously shown to be valid and reliable (Zijlstra, 2004;Silsupadol et al., 2017).
Step time was defined as the time difference between heel strikes.
Step length was calculated as the displacement along the vertical axis across each step cycle and a participant's leg length using the relationship: where h is the vertical displacement of the center of mass across each step cycle and l is the leg length (Zijlstra and Hof, 2003).
Step velocity was computed as the quotient of the step length and step time, with gait velocity being the average step velocity across all steps. Cadence was calculated as the number of steps taken over the total trial time. Smartphone-derived COM displacement was calculated by first removing gravity from the raw acceleration signal by applying a high-pass 3rd order 0.25 Hz elliptical filter with a 0.01 dB passband and 100 dB stopband (Lugade et al., 2014). The body-motion component of acceleration was then numerically double integrated across each step cycle to obtain the velocity and position (Furrer et al., 2015). In order to remove integration drift, a first order recursive high-pass Butterworth filter was applied to both the velocity and position data, with a 0.2 Hz cutoff frequency applied to the AP and ML directions, and 0.5 Hz used for the superior-inferior (SI) direction (Floor-Westerdijk et al., 2012). The COM range of motion was computed as the average of each minimum to maximum displacement in the AP, ML, and SI directions across all step cycles.
Marker data from the three-dimensional motion capture system were downloaded and analyzed using custom written MATLAB programs, with position data initially filtered using a 4th order low-pass Butterworth filter with an 8 Hz cutoff frequency. Heel strikes were detected using the vertical velocity of the midfoot (O'Connor et al., 2007).
Step length and step time were calculated using the position and time change of the heel marker between heel strikes. Gait velocity and cadence were computed identically to the methods used for the smartphone analysis. COM was computed as the weighted sum of a 13segment model, which included segmental COM for bilateral feet, bilateral shanks, bilateral thighs, pelvis, trunk, bilateral upper arms, bilateral lower arms and hands, and the head (Lugade et al., 2011).
Synchronization between motion capture and smartphone was performed by counting the number of steps taken from the starting point till the participant entered the capture volume of the motion capture system. Only steps collected within the capture volume were used for validation purposes. For obstacle crossing trials, only the two crossing steps were used for analysis.
A video editing program (Avidemux 2.7) was used to identify heel strikes of each step from video, and subsequently calculate step time and cadence during free-living trials. Video-based gait assessment revealed excellent intra-rater reliability (ICC 3,1 = 0.928) from a single investigator who re-assessed step times of a single participant 1 week after the initial evaluation. Gait velocity was calculated based on the total distance traveled and time elapsed per trial. Synchronization between the video camera and the smartphone was performed using the onset of movement detected by both systems. For level and irregular surface walking, all steps except for the first two gait initiation steps and the final two gait termination steps were included for analysis. Validity and reliability of crossing speed during the obstacle crossing condition could not be evaluated using video-derived data.

Statistical Analysis
For intra-session reliability, all derived parameters from the two smartphones, motion capture system, and video camera were assessed across trials using the intraclass correlation coefficient (ICC 2,1 ). For ICC values, Cicchetti's guidelines was used to interpret results, with values <0.40 representing poor reliability, 0.40-0.59 fair reliability, 0.60-0.74 good reliability, and values >0.75 having excellent reliability (Cicchetti, 1994). For concurrent validity, average values of the data obtained by the different measurement devices were examined using Pearson correlation coefficients (r), with motion capture and video observation considered the gold standard measures in the laboratory and free-living environments, respectively. Correlation r-values were interpreted as <0.30 being negligible, 0.30-0.50 low, 0.50-0.70 moderate, 0.70-0.90 high, and 0.90-1.00 very high (Mukaka, 2012). Bland-Altman analysis was used to evaluate the bias and 95% limits of agreement between the smartphone-based evaluations and motion capture or video.
For participant demographics, t-tests were used to evaluate differences in age, weight, and height between the young and older groups. A three-way mixed-effects ANOVA was used to investigate differences in gait and balance measures with walking condition and environment setting as within-subject factors, and group as the between-subjects factor. If a three-way interaction was non-significant, all possible two-way interactions were investigated. Main effects were considered only if no twoway interactions were found. If there were any interaction effects, the differences were then estimated at each level. Following statistical guidelines (Prescott, 2019), significance was set at an alpha level of p < 0.05 with unadjusted p-values reported. Outliers which were not the result of technical error were included in the analysis. All data were analyzed using SPSS 17.0 (IBM Inc., Armonk, NY).

Reliability
Spatiotemporal gait parameters obtained from motion capture, video, and the two smartphones demonstrated excellent reliability during level and irregular surface walking in both laboratory (ICC 2,1 ranging from 0.944 to 0.989, 0.908 to 0.965, and 0.882 to 0.953 for motion, smartphone on the body, and smartphone in the bag, respectively; Table 1) and free-living environments (ICC 2,1 ranging from 0.951 to 0.969, 0.896 to 0.952, and 0.774 to 0.882 for video, smartphone on the body, and smartphone in the bag, respectively; Table 2). While motion  capture and video also demonstrated excellent reliability for spatiotemporal gait parameters during obstacle crossing trials, the smartphones showed good to excellent reliability for this condition (ICC 2,1 ranging from 0.606 to 0.804 and 0.635 to 0.764 for the body and bag placements, respectively). Among the COM displacement parameters, poor to excellent reliability was found for motion capture (ICC 2,1 ranging from 0.344 to 0.891), fair to excellent reliability for the smartphone placed on the body (ICC 2,1 ranging from 0.543 to 0.921), and poor to good reliability for the smartphone placed in the shoulder bag (ICC 2,1 ranging from 0.265 to 0.711).

Validity
High to very high correlations were found for all spatiotemporal gait parameters when placing the smartphone on the body or bag, across all conditions and environments (r ranging from 0.81 to 1.00 and 0.72 to 1.00 for the body and bag, respectively; Tables 1, 2). Bland-Altman analysis revealed slightly increased bias and limits of agreement during the obstacle crossing condition, when compared to either the level or irregular surface walking for all parameters (Figures 3, 4; Tables 1, 2). Low to high correlations (r ranging from 0.49 to 0.75) were demonstrated for the SI COM displacement, when the smartphone was placed on the body. Negligible to moderate correlations were found for the COM displacement along the AP and ML directions for the smartphone placed on the body. Furthermore, negligible to low correlations were found for COM parameters across all directions and conditions, when placing the smartphone in the bag.

Effect of Age, Walking Condition, and Environment on Gait
Effects of age, condition, and environment were investigated using smartphones from both body and bag locations. However, as identical interaction and main effects were found for all gait parameters between the two phone locations, only data derived from the smartphone on the body location were reported ( Table 3). Results revealed no significant three-way group ×  condition × environment interaction for gait velocity, step time, step length, or cadence. Furthermore, there was an absence of group × environment interactions as well as the main effect of group and environment for all parameters. Group × condition interactions were significant for step time and cadence. When comparing the age groups for each walking condition, older adults walked with a longer step time (p = 0.012) and lower cadence (p = 0.009) than young adults only during the obstacle crossing condition. No group differences were found during level walking or walking over an irregular surface. Condition × environment interactions were significant for gait velocity and step length. When comparing the environmental setting for each walking condition, there was an environmental effect only during the irregular surface walking condition, but not during the level walking and obstacle crossing conditions. For irregular surface walking, participants ambulated ∼0.11 m/s faster (p = 0.001) and took ∼4.3 cm longer steps (p = 0.004) in the free-living environment compared to the laboratory environment.

Effect of Age, Walking Condition, and Environment on Balance
Due to poor validity, the AP and ML COM displacement was not analyzed for effects of age, condition, and environment. For the SI COM displacement, only the condition × environment interaction was found to be significant ( Table 3). Participants walked with a larger COM displacement in the free-living environment (p < 0.001), compared to the laboratory, especially while walking over an irregular surface.

DISCUSSION
This study demonstrated that a smartphone can be used as a field-based assessment tool to quantify ambulatory tasks while navigating both unobstructed and obstructed surfaces. In support of our first hypothesis, smartphone-derived spatiotemporal gait parameters were valid and reliable while level walking, ambulating over an irregular surface, or crossing an obstacle, Step length (cm)   when placed on either the body or in a bag. Furthermore, high to very high validity and good to excellent reliability was demonstrated for spatiotemporal gait measures in both the laboratory and free-living environments. However, partially supporting our hypothesis that a smartphone-based assessment of the COM displacement would be valid and reliable across all three directions, results of our study revealed that only the vertical displacement of the COM could be quantified accurately when attached to the body.
The moderate to very high validity and excellent reliability results for gait parameters and the SI COM displacement found during level walking in this study were comparable to those previously reported (Furrer et al., 2015;Silsupadol et al., 2017Silsupadol et al., , 2019. When compared to motion capture, it was shown that body and bag placement of a smartphone had high to very high validity (Pearson's r from 0.86 to 1.00 and from 0.87 to 1.00, for the body and bag, respectively) for all spatiotemporal measures in the current study. In comparison, a previous study reported r values from 0.82 to 1.00 and from 0.77 to 1.00, for body and bag placements, respectively (Silsupadol et al., 2019). Furthermore, the use of a smartphone to quantify gait parameters during level walking was shown to have excellent reliability when placed on the body and bag (ICC 2,1 ≥ 0.95), with similar results demonstrated previously (ICC 2,1 ≥ 0.90 and ≥ 0.79, for the body and bag, respectively) (Silsupadol et al., 2017).
During level walking, our study found moderate correlations (r = 0.63) and excellent reliability (ICC = 0.77) for the vertical COM displacement when the smartphone was placed on the body. In line with our results, Furrer and colleagues also showed similar findings (r ∼0.63 and ICC ∼0.74), when compared to motion capture (Furrer et al., 2015). Alternatively, validity and reliability of the COM displacement in the AP and ML directions were less successful. Even though no previous studies have investigated the validity of the AP and ML COM displacement during gait, similar trends for the COM displacement were demonstrated when utilizing an inertial measurement unit during ski skating. Compared to motion capture, COM displacement demonstrated root mean square errors of 2.4, 3.2, and 0.6 cm for the AP, ML and SI axes, respectively (Myklebust et al., 2015). This decreased accuracy for the AP and ML axes might be due to small misalignments of the accelerometer in relation to gravity affecting the transverse plane more than the vertical direction (Myklebust et al., 2015). For the bag location, the smartphone demonstrated poor validity and reliability for the COM displacement across all three axes. Along with possible misalignment and increased movement at this location, reduced validity may be due to the bag being placed over the right hip, rather than corresponding to the body's COM location (Kavanagh and Menz, 2008). In addition, while the L3 location has low transverse plane rotation, movement of the hip during walking might have caused extraneous movement of the bag, as movement of the bag was not restricted.
While previous work has mainly focused on unobstructed level walking, this is the first study to reveal very high validity and excellent reliability of using smartphones to measure spatiotemporal gait measures when ambulating over irregular walkways. The similar findings obtained from level and irregular surface walking indicate that the smartphonebased algorithm employed in this study is appropriate even for walking environments where gait is continuously challenged. Alternatively, slightly reduced validity and reliability was found during the obstacle crossing condition, particularly for the bag placement. This might be due to the small number of steps utilized for assessing obstacle crossing and the preference of leading limb. As the bag was placed over the right hip, choice of left or right limb to cross the obstacle might affect reliability and validity, since the hip flexion angle of the leading limb is greater than that of the trailing limb during obstacle crossing (Chou et al., 2001). In partial support of our second hypothesis, smartphonebased assessment revealed age-related differences in gait and balance performance only during obstacle crossing. Older adults crossed the obstacle with a longer step time than young adults. Age-related differences may become more pronounced when a greater time constraint is imposed and a wider obstacle is utilized (Chen et al., 1994;Weerdesteyn et al., 2005). A smartphonebased gait assessment also revealed balance and gait changes depending upon the task and environment. During irregular surface walking, participants utilized a faster gait speed and a longer step length in the free-living environment, compared to the laboratory environment. Environmental differences in walking strategy while navigating the uneven surface may be due the perceived hazard of the terrain within each environment. Shorter steps taken while navigating the irregular surface in the laboratory might be due to the consistency of perturbation (∼every 30 cm) and compliance of the plywood surface. Even though our irregular terrain in the laboratory was intended to be analogous to surfaces found outdoors, the irregular surface in the free-living environment was less uniform and cement. Unlike previous studies that found differences between laboratory and daily life gait when walking on a level surface (Brodie et al., 2016;Giannouli et al., 2016), this study found that the environment does not affect the way participants walk during this simple condition. With longer walking distances comprising activities of daily living, gait discrepancies between environments may be more evident.
There were a few limitations to the current study. While this study attempted to address a gap in the literature in regards to evaluating gait in the real-world environment, participants in this study were explicitly asked to walk a certain distance and were in the presence of research staff. Although gait trials utilized a 10-m walking distance, it is expected that longer duration walking bouts would lead to improved accuracy results, as misclassification and computation errors commonly occur during the acceleration and deceleration phases found at the beginning or end of trials, respectively (Lugade et al., 2014). Alternatively, this was the first study to explicitly evaluate gait and balance from smartphone-derived measures among young and older adults across various environments. Although utilizing accelerometer-based gait assessment under real-world conditions is beneficial, few studies have performed long duration evaluations in the free-living environment. Therefore, future studies need to investigate the feasibility of homebased smartphone evaluations of gait in an environment where participants freely engage in everyday walking. Additionally, investigation of additional participants with variable body sizes, ages, and morbidities would increase the robustness of this methodology.
In conclusion, given its ease-of-use, cost effectiveness, and portability, smartphones offer an alternative approach to analyze gait and subsequently provide an easy-to-implement tool for remote patient monitoring and home health care. In particular, smartphone-based assessment, regardless of phone placement, was shown to be reliable and valid for all spatiotemporal gait parameters across obstructed and unobstructed conditions, both indoors and outdoors.

DATA AVAILABILITY STATEMENT
The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

ETHICS STATEMENT
The studies involving human participants were reviewed and approved by Chiang Mai University Research Ethics Committee (number AMSEC-61EX-043). The patients/participants provided their written informed consent to participate in this study.

AUTHOR CONTRIBUTIONS
JK: conceptualization, methodology, validation, formal analysis, investigation, data curation, and wrote-original draft. PS: conceptualization, methodology, validation, formal analysis, investigation, wrote-reviewing and editing, supervision, and project administration. TK: methodology, validation, investigation, and data curation. VL: conceptualization, methodology, software, validation, formal analysis, investigation, writing-reviewing and editing, and project administration. All authors contributed to the article and approved the submitted version.