Skip to content

Commit

Permalink
Merge pull request #58 from fergusL/issue#50
Browse files Browse the repository at this point in the history
updating property/method names in server
  • Loading branch information
fergusL authored Oct 11, 2019
2 parents 946106f + fe26e74 commit ca1ec4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions domehunter/gRPC-server/hx2dome.proto_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def dapiGotoAzEl(self, request, context):
else:
return_code = 0
try:
self.dome.GotoAz(request.az)
self.dome.goto_az(request.az)
except Exception:
# TODO: proper error handling
return_code = 1
Expand Down Expand Up @@ -471,10 +471,10 @@ def dapiIsFindHomeComplete(self, request, context):
return response
else:
is_dome_moving = self.dome.dome_in_motion
# if dome is not moving and dome.is_home returns True
# if dome is not moving and dome.at_home returns True
# lets just consider the command complete
# TODO: better method of determine command completion
is_complete = not is_dome_moving and self.dome.is_home
is_complete = not is_dome_moving and self.dome.at_home
response = hx2dome_pb2.IsComplete(
return_code=0, is_complete=is_complete)
return response
Expand Down

0 comments on commit ca1ec4d

Please sign in to comment.