Measuring walking speed on a "White Cane"

What are trying to do with the output data, there may be other techniques to combine with the simple cane motion.