play_animation_trigger ( "GreetAfterLongTime" ) # Disconnect from Vector robot. Import anki_vector # Create a Robot object robot = anki_vector. Using with: it works just like opening a file, and will close when The majority of the robot will not work until it is properly connected To a Vector, and is typically the entry-point to running the sdk. The Robot object is responsible for managing the state and connections Robot ( serial=None, ip=None, name=None, config=None, default_logging=True, behavior_activation_timeout=10, cache_animation_lists=True, enable_face_detection=False, estimate_facial_expression=False, enable_audio_feed=False, enable_custom_object_detection=False, enable_nav_map_feed=None, show_viewer=False, show_3d_viewer=False, behavior_control_level= ) ¶ The Robot object is responsible for managing the state and connections to a Vector, and is typically the entry-point to running the sdk.Ĭlass anki_vector.robot. The AsyncRobot object is just like the Robot object, but allows multiple commands to be executed at the same time. Robot will run all behaviors in sequence and directly return the results.ĪsyncRobot will instead provide a which theĬaller may use to obtain the result when they desire.ĪsyncRobot() This contains the Robot and AsyncRobot classes for managing Vector.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |