Skip to content

Commit 316fafe

Browse files
author
Michelle Sintov
authored
VIC-12067 Drive off charger first to prevent proximity mapper failing anki#29
1 parent ccef24c commit 316fafe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/apps/proximity_mapper/proximity_mapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ def open_point_sort_func(position: Vector3):
317317
# Creates the 3D Viewer for the connected robot.
318318
viewerInstance = OpenGLViewer(robot=robotInstance, show_viewer_controls=False)
319319

320+
robotInstance.behavior.drive_off_charger()
321+
320322
# The OpenGLViewer has to run on the main thread, so control is given to
321323
# it via the blocking 'run' call. The core loop of our program is injected into
322324
# this call to run in parallel on a secondary thread. When the injected function

0 commit comments

Comments
 (0)