Commit 5c9f374c authored by Marco Buttu's avatar Marco Buttu
Browse files

isConfigured() is true if the positioner is configured AND isReady() to move

That's because the receiver boss checks if the dewar positioner is configured
and not if it is ready. Before this change isConfigured() returned true when
the positioner was configured (FIXED, BSC, ecc.).
parent 83f60316
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -445,7 +445,9 @@ class DewarPositionerImpl(POA, cc, services, lcycle):


    def isConfigured(self):
        return self.positioner.isConfigured()
        # Add the isReady() constraint because the Receiver boss checks if
        # the DewarPositioner is configured instead of checking if it is Ready
        return self.positioner.isConfigured() and self.isReady()


    def isReady(self):