Added getVolts() to iEMG interface and its sensors.

Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
This commit is contained in:
Serban Waltter
2018-07-03 15:47:01 +03:00
parent 4ad0bd2691
commit b0df70ca03
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;
};
}