   []
   (com.aldebaran.qimessaging.Application.))
 
+
+; java function to wait on the future?
 (defn make-session
   "Create a session connected to a robot"
   [hostname port]

(defn say
  "Say something"
  [robot text]
  (.say (get-proxy robot :tts) text))

(defn get-language
  "Get the currently defined text-to-speech language"

(ns naojure.core)

(def proxy-classes {
                    :audio-player "ALAudioPlayer"
                    :backlight-detection "ALBacklightingDetection"
                    :battery "ALBattery"
                    :behaviour-manager "ALBehaviorManager"
                    :darkness-detection "ALDarknessDetection"
                    :leds "ALLeds"
                    :memory "ALMemory"
                    :motion "ALMotion"
                    :navigation "ALNavigation"
                    :photo-capture "ALPhotoCapture"
                    :posture "ALRobotPosture"
                    :preferences "ALPreferences"
                    :sensors "ALSensors"
                    :sonar "ALSonar"
                    :sound-detection "ALSoundDetection"
                    :speech-recognition "ALSpeechRecognitionProxy"
                    :tts "ALTextToSpeechProxy"
                    })

(def joint-names '("HeadYaw", "HeadPitch",
