Package: misty2py-skills
Misty2py-skillsMisty2py-skills is a Python 3 library of Misty II skills developed using Misty2py library.Read the full documentationhere!DocumentationsThe packagemisty2py_skillscontains:misty2py_skills.face_recognitionmodule - a skill that greets people upon face detection with their name if known and prompts a face training session if their face (and therefore their name) is not known.misty2py_skills.hey_mistymodule - a skill of Misty reacting to the"Hey Misty"keyphrase.Note: due to internal works of Misty's API, Misty only reacts to the keyphrase once every runtime.misty2py_skills.remote_controlmodule - a skill that lets you control Misty via a keyboard.Note: since Misty is not a remote control race car, the controllability and responsiveness is not on the level of the typical remotelly controlled devices.misty2py_skills.question_answeringmodule - a skill that allows to have a trivial conversation with Misty.misty2py_skills.demonstrationssub-package which contains skills that demonstrate the workings ofmisty2pypackage but are not necessarily useful for a real world implementation as-is.misty2py_skills.demonstrations.battery_printermodule - a skill that prints Misty's battery status every 250 ms in the terminal for the duration specified as the second CLI argument in seconds (optional, defaults to 2 seconds). Demonstrates working with events inmisty2py.misty2py_skills.demonstrations.exploremodule - a skill that should theoretically perform SLAM mapping of an unknown room but due to misalignment of Misty's API documentation and the real underlying structures, mapping is not currently performed as it auto-stops after a few second from entering the SLAM mapping mode.misty2py_skills.essentialssub-package for relatively simple skills that can be used as building blocks or are otherwise helpful for developing real-life skills.misty2py_skills.essentials.free_memorymodule - a skill that removes non-system audio, video, image and recording files from Misty's memory.misty2py_skills.essentials.movementmodule - a module containing the classMovementwhich handles Misty's movement.Note: only driving is currently implemented.misty2py_skills.expressionssub-package for expressions (audio-visual characteristics of Misty). Currently contains these modules:misty2py_skills.expressions.listeningmodule - a simple expression that makes Misty appear to be listening.misty2py_skills.expressions.angrymodule - a simple expression that makes Misty appear to be angry.misty2py_skills.utilssub-package of utility modules, including:misty2py_skills.utils.templatefile - a template file for developing a skill with Misty2py.misty2py_skills.utils.statusmodule - contains the classesStatusandActionLogwhich can be used to track the execution state of a script.misty2py_skills.utils.conversemodule - contains utility functions for speaking and printing data.misty2py_skills.utils.utilsmodule - contains other utility functions.Running the skillsCopy the.env.examplefrom the root directory of this repository into.envand replace the values ofMISTY_IP_ADDRESSandPROJECT_DIRwith appropriate values.If you are running the skills from the source, run commandspip install poetryandpoetry installto get the dependencies.If you are running speech recognition-related skills, follow the directions below.Running speech recognition-related skillsSet up an account atWit.ai.Create a new app atWit.ai. If you wish to run the skillmisty2py_skills.question_answering, select the option "Import From a Backup" and use the file inaccompanying_datain the root directory of this package'srepositoryas a backup file.Go to the dashboard of the new app, select Settings under Management and get the Server Access Token.Replace the value ofWIT_AI_KEYin your.envfile with the Server Access Token.