Classes | |
class | AskYesNoServer |
class | GetResponseServer |
Functions | |
def | _starting_up () |
def | check_connection () |
def | check_connection_without_backend () |
def | check_working (message) |
def | connect () |
def | handle_get_response (data) |
def | handle_register_skill (data) |
def | handle_remove_skill (data) |
def | handle_utterance (data) |
def | initialise_response_server (message) |
def | listener () |
def | register_intents (instance, skill_topic, intent_files=None, entities=None, intents=None) |
def | shutdown () |
def | try_update_system (platform) |
Variables | |
ask_yesno_server = None | |
bus = None | |
bool | connect_to_mycroft_backend = True |
event_scheduler = None | |
get_response_server = None | |
skill_manager = None | |
start_clock = time.time() | |
start_ticks = time.monotonic() | |
string | topic_name = "checking" |
|
private |
Start loading skills. Starts - SkillManager to load/reloading of skills when needed - a timer to check for internet connection - adapt intent service - padatious intent service
Definition at line 95 of file mycroft_skills.py.
def mycroft_skills.check_connection | ( | ) |
Check for network connection. If not paired trigger pairing. Runs as a Timer every second until connection is detected.
Definition at line 231 of file mycroft_skills.py.
def mycroft_skills.check_connection_without_backend | ( | ) |
Definition at line 164 of file mycroft_skills.py.
def mycroft_skills.check_working | ( | message | ) |
Definition at line 306 of file mycroft_skills.py.
def mycroft_skills.connect | ( | ) |
Definition at line 91 of file mycroft_skills.py.
def mycroft_skills.handle_get_response | ( | data | ) |
Definition at line 79 of file mycroft_skills.py.
def mycroft_skills.handle_register_skill | ( | data | ) |
Create new MycroftSkill for ROS node and load into SkillManager Arguements: data: mycroft/register_skill service payload containing MycroftSkill srv
Definition at line 196 of file mycroft_skills.py.
def mycroft_skills.handle_remove_skill | ( | data | ) |
Removes the skill using its path. Arguements: data (String): Skill directory path
Definition at line 184 of file mycroft_skills.py.
def mycroft_skills.handle_utterance | ( | data | ) |
Definition at line 168 of file mycroft_skills.py.
def mycroft_skills.initialise_response_server | ( | message | ) |
Definition at line 313 of file mycroft_skills.py.
def mycroft_skills.listener | ( | ) |
Definition at line 318 of file mycroft_skills.py.
def mycroft_skills.register_intents | ( | instance, | |
skill_topic, | |||
intent_files = None , |
|||
entities = None , |
|||
intents = None |
|||
) |
Definition at line 172 of file mycroft_skills.py.
def mycroft_skills.shutdown | ( | ) |
Definition at line 143 of file mycroft_skills.py.
def mycroft_skills.try_update_system | ( | platform | ) |
Definition at line 152 of file mycroft_skills.py.
mycroft_skills.ask_yesno_server = None |
Definition at line 39 of file mycroft_skills.py.
mycroft_skills.bus = None |
Definition at line 33 of file mycroft_skills.py.
bool mycroft_skills.connect_to_mycroft_backend = True |
Definition at line 37 of file mycroft_skills.py.
mycroft_skills.event_scheduler = None |
Definition at line 34 of file mycroft_skills.py.
mycroft_skills.get_response_server = None |
Definition at line 38 of file mycroft_skills.py.
mycroft_skills.skill_manager = None |
Definition at line 35 of file mycroft_skills.py.
mycroft_skills.start_clock = time.time() |
Definition at line 43 of file mycroft_skills.py.
mycroft_skills.start_ticks = time.monotonic() |
Definition at line 42 of file mycroft_skills.py.
string mycroft_skills.topic_name = "checking" |
Definition at line 36 of file mycroft_skills.py.