Skip to content
Snippets Groups Projects
Unverified Commit b0e2d31f authored by Giuseppe Carboni's avatar Giuseppe Carboni Committed by GitHub
Browse files

Fix #878, fixed number of digits for SkyOffsets (#879)

* Fix #878, fixed number of digits for SkyOffsets

* Reduced precision to 3 digits in order to be coherent with other fields
parent 59b36e16
Branches
No related tags found
No related merge requests found
......@@ -120,8 +120,8 @@ class MyWorker(QThread):
self.emit(Qt.SIGNAL("scanAxis"),scanaxis)
(azOffset,_)=self.azimuthOffset.get_sync()
(elOffset,_)=self.elevationOffset.get_sync()
self.emit(Qt.SIGNAL("azoffset"),str(azOffset/math.pi*180))
self.emit(Qt.SIGNAL("eloffset"),str(elOffset/math.pi*180))
self.emit(Qt.SIGNAL("azoffset"),f'{azOffset/math.pi*180:.3f}')
self.emit(Qt.SIGNAL("eloffset"),f'{elOffset/math.pi*180:.3f}')
rec= self.caltool.isRecording()
if rec==True:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment