DRV8323RS Version
Dependencies: mbed-dev-f303 FastPWM3
Diff: PositionSensor/PositionSensor.cpp
- Revision:
- 38:67e4e1453a4b
- Parent:
- 37:c0f352d6e8e3
- Child:
- 45:26801179208e
--- a/PositionSensor/PositionSensor.cpp Fri Apr 13 13:50:54 2018 +0000 +++ b/PositionSensor/PositionSensor.cpp Mon May 14 20:59:02 2018 +0000 @@ -76,6 +76,10 @@ int PositionSensorAM5147::GetRawPosition(){ return raw; } + +float PositionSensorAM5147::GetMechPositionFixed(){ + return MechPosition+MechOffset; + } float PositionSensorAM5147::GetMechPosition(){ return MechPosition;