Browse Source

Add code to servoControler class

test
nasi 3 years ago
parent
commit
f6ac65beb8
  1. 2
      Servo/src/ServoController.cpp

2
Servo/src/ServoController.cpp

@ -149,5 +149,3 @@ 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); return (azimuthVector[0] / SRV_ANGLE_FACTOR);
} }

Loading…
Cancel
Save