Modified all iDistance sensors to return float.

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
This commit is contained in:
Serban Waltter
2018-06-27 14:28:00 +03:00
parent 9653ef27b8
commit 39515cb8ee
15 changed files with 17 additions and 17 deletions

View File

@ -36,7 +36,7 @@ namespace upm
{
public:
virtual ~iDistance() {}
virtual int getDistance() = 0;
virtual float getDistance() = 0;
/**
* Convert distance value from Cm(default) to one
* of the following: