sharp, encoder, sonar basic functions added