Open leohu1 opened 5 years ago
I had the same error :-) the 'enable_camera_feed' arg in Robot doesn't exist in the last SDK version (0.6.0) ! This parameter has been renamed into a function 'init_camera_feed()' and move in camera instead.
Try to change the code in 'vector_explorer_tool.py' by these lines
with anki_vector.Robot(args.serial, enable_custom_object_detection=True, enable_face_detection=True) as robot: global animation_list global active_viewer global os_info
robot.camera.init_camera_feed()
Fix has been pushed to master. This problem should no longer occur.
just tried for the first time from a fresh install and works great
Traceback (most recent call last): File "C:/Users/leo/Desktop/Vector-Explorer-Tool-master/vector_explorer_tool.py", line 143, in
run()
File "C:/Users/leo/Desktop/Vector-Explorer-Tool-master/vector_explorer_tool.py", line 128, in run
with anki_vector.Robot(args.serial, enable_camera_feed=True, enable_custom_object_detection=True, enable_face_detection=True) as robot:
TypeError: init() got an unexpected keyword argument 'enable_camera_feed'
Process finished with exit code 1