Added first checklist intent

Signed-off-by: merspieler <merspieler@users.noreply.github.com>
This commit is contained in:
merspieler 2018-02-01 17:47:57 +01:00
parent e9b68341f0
commit e9ee1bddd3

View file

@ -12,6 +12,9 @@ LOGGER = getLogger(__name__)
class FlightGearCopilotSkill(MycroftSkill):
def __init__(self):
super(FlightGearCopilotSkill, self).__init__()
self.settings['host'] = "localhost"
self.settings['port'] = 8081
# TODO add self.settings['profiles'] with default profiles (A32X and c172p)
# DEFINITION of the settings['profiles'] structure
# [
@ -188,6 +191,27 @@ class FlightGearCopilotSkill(MycroftSkill):
else:
self.speak_dialog("gear.not.retractable")
#################################################################
# #
# Checklists #
# #
#################################################################
# TODO add all possible checklist
# TODO make it possible, to play a .mp3 file instead of tts
#########################
# #
# LDG Check #
# #
#########################
@intent_handler(IntentBuilder('LDGCheckIntent').require('ldgcheck'))
def handle_ldg_check_intent(self, message):
# TODO make checklist plane specific
self.speak("Landing no blue. . . Landing checklist completed")
def stop(self):
pass