![]() When his backpack is double-clicked on the charger, and guid is the authorization token Where cert is the certificate to identify Vector, name is the name on Vector’s face Is discovered, the ip parameter (and config field) will be overridden.Ĭonfig ( Optional) – A custom dict to override values in Vector’s configuration. Name ( Optional) – Vector’s name (in format "Vector-XXXX") to be used for mDNS discovery. Used to identify which Vector configuration to load. Or accessible from Vector’s debug screen. ![]() 00e20100) is located on the underside of Vector, Serial ( Optional) – Vector’s serial number. 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 |