Added initial interfaces and some sensors implementing them

This commit is contained in:
Mihai Stefanescu
2018-06-12 18:46:49 +03:00
committed by Serban Waltter
parent 85608a9f61
commit e7820f2831
102 changed files with 1183 additions and 182 deletions

View File

@ -67,6 +67,12 @@ float URM37::getDistance(int degrees)
return (distance);
}
int URM37::getDistance()
{
/* TODO: compilation issue for swig. switched original method to not use default zero parameter. */
return getDistance(0);
}
float URM37::getTemperature()
{
float temperature;