Two real-time pattern recognition algorithms , using either ( @ ) mechanical sensor data alone or ( @ ) mechanical sensor data in combination with EMG data and historical information from earlier in the gait cycle , were evaluated .