File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/apps/remote_control Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ def handle_index_page():
464
464
var gLastClientX = -1
465
465
var gLastClientY = -1
466
466
var gIsMouseLookEnabled = """ + to_js_bool_string (_is_mouse_look_enabled_by_default ) + """
467
- var gAreDebugAnnotationsEnabled = """ + str (flask_app .display_debug_annotations . value ) + """
467
+ var gAreDebugAnnotationsEnabled = """ + str (flask_app .display_debug_annotations ) + """
468
468
var gIsFreeplayEnabled = false
469
469
var gUserAgent = window.navigator.userAgent;
470
470
var gIsMicrosoftBrowser = gUserAgent.indexOf('MSIE ') > 0 || gUserAgent.indexOf('Trident/') > 0 || gUserAgent.indexOf('Edge/') > 0;
@@ -808,7 +808,7 @@ def run():
808
808
809
809
with anki_vector .AsyncRobot (args .serial , enable_face_detection = True , enable_custom_object_detection = True ) as robot :
810
810
flask_app .remote_control_vector = RemoteControlVector (robot )
811
- flask_app .display_debug_annotations = DebugAnnotations .ENABLED_ALL
811
+ flask_app .display_debug_annotations = DebugAnnotations .ENABLED_ALL . value
812
812
813
813
robot .camera .init_camera_feed ()
814
814
robot .behavior .drive_off_charger ()
You can’t perform that action at this time.
0 commit comments