Integrated kinect and sonar detection into controller