|
|
@ -146,8 +146,6 @@ void ServoController::setAngleOffset(double offset) |
|
|
|
/*************************************************************************************************/ |
|
|
|
double ServoController::getAzimuth() |
|
|
|
{ |
|
|
|
auto azimuthVector = _modbusWrapper.getHoldingRegister(SRV_AZIMUTH_REG,1); |
|
|
|
auto azimuthVector = _modbusWrapper.getHoldingRegister(SRV_AZIMUTH_REG, 1); |
|
|
|
return (azimuthVector[0] / SRV_ANGLE_FACTOR); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|