Added getVolts() to iEMG interface and its sensors.

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Serban Waltter
2018-07-03 15:47:01 +03:00
committed by Mihai Tudor Panu
parent c642e02a18
commit 1f1510f38d
5 changed files with 59 additions and 0 deletions

View File

@ -45,5 +45,12 @@ namespace upm
* @return Muscle output as analog voltage
*/
virtual int value() = 0;
/**
* Read scaled/offset voltage from the sensor
*
* @return Measured volts
*/
virtual float getVolts() = 0;
};
}