Skip to content

Commit

Permalink
MINOR: renamed close_robot to close for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
vikashplus committed Jan 1, 2024
1 parent 1077f86 commit fbcc87c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robohive/robot/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ def reset(self,


# close connection and exit out of the robot
def close_robot(self):
def close(self):
if self.robot_config:
status = self.hardware_close() if self.is_hardware else True
if status:
Expand All @@ -795,7 +795,7 @@ def close_robot(self):

# destructor
def __del__(self):
self.close_robot()
self.close()


def demo_robot():
Expand Down

0 comments on commit fbcc87c

Please sign in to comment.