change depth sensor to fit new function pointer for measure functions
fix bugs caused by merge