Skip to content

Commit 9b5e0d8

Browse files
charlesworthCharlesworth
charlesworth
authored andcommitted
added teach mode renew period for homing
1 parent 827967f commit 9b5e0d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

evasdk/Eva.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ def control_wait_for(self, goal):
167167

168168
def control_home(self, wait_for_ready=True):
169169
self.__logger.debug('Eva.control_home called')
170-
return self.__http_client.control_home(wait_for_ready=wait_for_ready)
170+
with self.__eva_locker.set_renew_period(Eva.__TEACH_RENEW_PERIOD):
171+
return self.__http_client.control_home(wait_for_ready=wait_for_ready)
171172

172173

173174
def control_run(self, loop=1, wait_for_ready=True, mode='teach'):

0 commit comments

Comments
 (0)