To determine the effect of including electromyographic ( EMG ) data and historical information from prior gait strides in a real-time control system for a powered prosthetic leg capable of level-ground walking , stair ascent and descent , ramp ascent and descent , and natural transitions between these ambulation modes .