Skip to content

Commit 827967f

Browse files
charlesworthCharlesworth
charlesworth
authored andcommitted
fix control_wait_for to use object mode
1 parent 913bbc7 commit 827967f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evasdk/eva_http_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def control_wait_for(self, goal, interval_sec=1):
294294
parsed_goal = RobotState(goal)
295295

296296
while True:
297-
robot_state = RobotState(self.data_snapshot()['control.state'])
297+
robot_state = RobotState(self.data_snapshot()['control']['state'])
298298

299299
if robot_state == RobotState.ERROR:
300300
eva_error('Eva is in error control state')

0 commit comments

Comments
 (0)