This study examined the effects of deep brain stimulation (DBS) of the globus pallidus interna (GPi) and subthalamic nucleus (STN) on balance and gait in people with Parkinson's disease. Quantitative measurements were taken before and after surgery using inertial sensors. Results showed that GPi stimulation led to greater improvements than STN stimulation in several gait and balance metrics like stride length and turning speed. Both sites worsened arm movement. Inertial sensors were useful for precisely measuring changes over time to understand how DBS affects balance and mobility.