[tuxdroid-svn] r799 - in software/gadgets/tux_controller/trunk: . TuxController TuxController/Scrip
Status: Beta
Brought to you by:
ks156
From: Paul_R <c2m...@c2...> - 2007-12-17 09:35:25
|
Author: Paul_R Date: 2007-12-17 10:35:17 +0100 (Mon, 17 Dec 2007) New Revision: 799 Modified: software/gadgets/tux_controller/trunk/TuxController.tgf software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/GUI/widget/other.glade software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/GUI/widget/other.pyp software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/main.pyp software/gadgets/tux_controller/trunk/TuxController/Strings/fr_ALL.xml software/gadgets/tux_controller/trunk/TuxController/about.xml software/gadgets/tux_controller/trunk/TuxController/settings.xml software/gadgets/tux_controller/trunk/TuxController/strings.xml Log: * Added the french help Modified: software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/GUI/widget/other.glade =================================================================== --- software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/GUI/widget/other.glade 2007-12-14 16:42:38 UTC (rev 798) +++ software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/GUI/widget/other.glade 2007-12-17 09:35:17 UTC (rev 799) @@ -789,26 +789,6 @@ </child> <child> - <widget class="GtkHScale" id="slideLED"> - <property name="width_request">160</property> - <property name="height_request">32</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="draw_value">True</property> - <property name="value_pos">GTK_POS_RIGHT</property> - <property name="digits">0</property> - <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> - <property name="inverted">False</property> - <property name="adjustment">150 1 255 1 0 0</property> - <signal name="value_changed" handler="on_slideLED_value_changed" last_modification_time="Thu, 15 Nov 2007 08:37:21 GMT"/> - </widget> - <packing> - <property name="x">160</property> - <property name="y">13</property> - </packing> - </child> - - <child> <widget class="GtkVSeparator" id="vseparator18"> <property name="width_request">16</property> <property name="height_request">50</property> @@ -845,6 +825,52 @@ <property name="y">3</property> </packing> </child> + + <child> + <widget class="GtkHScale" id="slideLED"> + <property name="width_request">160</property> + <property name="height_request">32</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="draw_value">True</property> + <property name="value_pos">GTK_POS_RIGHT</property> + <property name="digits">0</property> + <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> + <property name="inverted">False</property> + <property name="adjustment">150 1 255 1 0 0</property> + <signal name="value_changed" handler="on_slideLED_value_changed" last_modification_time="Thu, 15 Nov 2007 08:37:21 GMT"/> + </widget> + <packing> + <property name="x">160</property> + <property name="y">16</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="lblFrequency"> + <property name="width_request">144</property> + <property name="height_request">16</property> + <property name="visible">True</property> + <property name="label" translatable="yes">label19</property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="x">160</property> + <property name="y">8</property> + </packing> + </child> </widget> <packing> <property name="left_attach">1</property> @@ -1300,26 +1326,6 @@ </child> <child> - <widget class="GtkHScale" id="slideWings"> - <property name="width_request">160</property> - <property name="height_request">32</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="draw_value">True</property> - <property name="value_pos">GTK_POS_RIGHT</property> - <property name="digits">0</property> - <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> - <property name="inverted">False</property> - <property name="adjustment">5 1 5 1 0 0</property> - <signal name="value_changed" handler="on_slideWings_value_changed" last_modification_time="Thu, 15 Nov 2007 08:42:15 GMT"/> - </widget> - <packing> - <property name="x">160</property> - <property name="y">55</property> - </packing> - </child> - - <child> <widget class="GtkVSeparator" id="vseparator15"> <property name="width_request">16</property> <property name="height_request">136</property> @@ -1368,6 +1374,52 @@ <property name="y">3</property> </packing> </child> + + <child> + <widget class="GtkHScale" id="slideWings"> + <property name="width_request">160</property> + <property name="height_request">32</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="draw_value">True</property> + <property name="value_pos">GTK_POS_RIGHT</property> + <property name="digits">0</property> + <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> + <property name="inverted">False</property> + <property name="adjustment">5 1 5 1 0 0</property> + <signal name="value_changed" handler="on_slideWings_value_changed" last_modification_time="Thu, 15 Nov 2007 08:42:15 GMT"/> + </widget> + <packing> + <property name="x">160</property> + <property name="y">55</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="lblWingsPWM"> + <property name="width_request">144</property> + <property name="height_request">16</property> + <property name="visible">True</property> + <property name="label" translatable="yes">label19</property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="x">160</property> + <property name="y">47</property> + </packing> + </child> </widget> <packing> <property name="left_attach">1</property> @@ -1488,26 +1540,6 @@ </child> <child> - <widget class="GtkHScale" id="slideSpin"> - <property name="width_request">160</property> - <property name="height_request">32</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="draw_value">True</property> - <property name="value_pos">GTK_POS_RIGHT</property> - <property name="digits">0</property> - <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> - <property name="inverted">False</property> - <property name="adjustment">5 1 5 1 0 0</property> - <signal name="value_changed" handler="on_slideSpin_value_changed" last_modification_time="Thu, 15 Nov 2007 08:42:21 GMT"/> - </widget> - <packing> - <property name="x">160</property> - <property name="y">26</property> - </packing> - </child> - - <child> <widget class="GtkVSeparator" id="vseparator17"> <property name="width_request">16</property> <property name="height_request">77</property> @@ -1597,6 +1629,52 @@ <property name="y">58</property> </packing> </child> + + <child> + <widget class="GtkHScale" id="slideSpin"> + <property name="width_request">160</property> + <property name="height_request">32</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="draw_value">True</property> + <property name="value_pos">GTK_POS_RIGHT</property> + <property name="digits">0</property> + <property name="update_policy">GTK_UPDATE_CONTINUOUS</property> + <property name="inverted">False</property> + <property name="adjustment">5 1 5 1 0 0</property> + <signal name="value_changed" handler="on_slideSpin_value_changed" last_modification_time="Thu, 15 Nov 2007 08:42:21 GMT"/> + </widget> + <packing> + <property name="x">160</property> + <property name="y">26</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="lblSpinPWM"> + <property name="width_request">144</property> + <property name="height_request">16</property> + <property name="visible">True</property> + <property name="label" translatable="yes">label19</property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="x">160</property> + <property name="y">18</property> + </packing> + </child> </widget> <packing> <property name="left_attach">1</property> @@ -2385,29 +2463,12 @@ <signal name="changed" handler="on_spinPitch_changed" last_modification_time="Tue, 11 Dec 2007 12:18:41 GMT"/> </widget> <packing> - <property name="x">216</property> - <property name="y">103</property> + <property name="x">112</property> + <property name="y">101</property> </packing> </child> <child> - <widget class="GtkComboBoxEntry" id="comboboxentry1"> - <property name="width_request">216</property> - <property name="height_request">27</property> - <property name="visible">True</property> - <property name="items" translatable="yes"> </property> - <property name="add_tearoffs">False</property> - <property name="has_frame">True</property> - <property name="focus_on_click">True</property> - <signal name="changed" handler="on_comboboxentry1_changed" last_modification_time="Tue, 11 Dec 2007 12:01:54 GMT"/> - </widget> - <packing> - <property name="x">56</property> - <property name="y">59</property> - </packing> - </child> - - <child> <widget class="GtkLabel" id="lblTTSConf"> <property name="width_request">16</property> <property name="height_request">134</property> @@ -2435,8 +2496,8 @@ <child> <widget class="GtkLabel" id="lblPitch"> - <property name="width_request">152</property> - <property name="height_request">24</property> + <property name="width_request">56</property> + <property name="height_request">25</property> <property name="visible">True</property> <property name="label" translatable="yes"> </property> <property name="use_underline">False</property> @@ -2458,6 +2519,23 @@ <property name="y">103</property> </packing> </child> + + <child> + <widget class="GtkComboBoxEntry" id="comboboxentry1"> + <property name="width_request">216</property> + <property name="height_request">28</property> + <property name="visible">True</property> + <property name="items" translatable="yes"> </property> + <property name="add_tearoffs">False</property> + <property name="has_frame">True</property> + <property name="focus_on_click">True</property> + <signal name="changed" handler="on_comboboxentry1_changed" last_modification_time="Tue, 11 Dec 2007 12:01:54 GMT"/> + </widget> + <packing> + <property name="x">56</property> + <property name="y">59</property> + </packing> + </child> </widget> <packing> <property name="left_attach">1</property> Modified: software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/GUI/widget/other.pyp =================================================================== --- software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/GUI/widget/other.pyp 2007-12-14 16:42:38 UTC (rev 798) +++ software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/GUI/widget/other.pyp 2007-12-17 09:35:17 UTC (rev 799) @@ -82,28 +82,7 @@ ''' When the window is destroyed, don't forget to remove the monitoring vectors ''' - tux.monitoring.remove(self.light_idx) - tux.monitoring.remove(self.sound_idx) - tux.monitoring.remove(self.battery_idx) - tux.event.on_left_blue_led_on = None - tux.event.on_left_blue_led_off = None - tux.event.on_right_blue_led_on = None - tux.event.on_right_blue_led_off = None - tux.event.on_eyes_open = None - tux.event.on_eyes_closed = None - tux.event.on_mouth_open = None - tux.event.on_mouth_close = None - tux.event.on_spin_stop = None - tux.event.on_power_unplugged = None - tux.event.on_remote_bt[K_UP] = None - tux.event.on_remote_bt[K_DOWN] = None - tux.event.on_remote_bt[K_OK] = None - tux.event.on_remote_bt[K_LEFT] = None - tux.event.on_remote_bt[K_RIGHT] = None - tux.event.on_remote_bt[K_RED] = None - tux.event.on_remote_bt[K_GREEN] = None - tux.event.on_remote_bt[K_BLUE] = None - tux.event.on_remote_bt[K_YELLOW] = None + pass def binding(self): ''' @@ -137,13 +116,18 @@ - self.battery_idx = tux.monitoring.insert(0x25, self.on_battery_level) - self.light_idx = tux.monitoring.insert(0x1B, self.on_light_level) + battery_idx = tux.monitoring.insert(0x25, self.on_battery_level) + light_idx = tux.monitoring.insert(0x1B, self.on_light_level) + tux.micro.on() - self.sound_idx = tux.monitoring.insert(0xF0, self.on_microphone_energy) + sound_idx = tux.monitoring.insert(0xF0, self.on_microphone_energy) tux.sys.wait(0.1) + _me.set_param('batt', battery_idx) + _me.set_param('light', light_idx) + _me.set_param('sound', sound_idx) + def update_status(self): ''' This function update the status when the gadget is starting. @@ -330,6 +314,10 @@ self.get_widget('lblTTSConf').set_label(_me.string('lblTTSConf')) self.get_widget('lblPitch').set_label(_me.string('lblPitch')) + self.get_widget('lblFrequency').set_label(_me.string('lblFrequency')) + self.get_widget('lblWingsPWM').set_label(_me.string('lblPWM')) + self.get_widget('lblSpinPWM').set_label(_me.string('lblPWM')) + self.get_widget('radSpinDirLeft').set_label(_me.string('radSpinDirLeft')) self.get_widget('radSpinDirRight').set_label(_me.string('radSpinDirRight')) @@ -513,32 +501,30 @@ def on_btnSpinLeft_pressed(self, widget, *args): if tux.status.power_plug(): self.get_widget('imgSpin').set_from_pixbuf(self.spin_transfo) + thread.start_new_thread(self.__wait2, ()) return self.get_widget('imgSpin').set_from_pixbuf(self.spin_left) tux.cmd.spinl_on_free(0) def on_btnSpinLeft_released(self, widget, *args): - if tux.status.power_plug(): - self.get_widget('imgSpin').set_from_pixbuf(self.spin_transfo) - return tux.cmd.spinl_on_free(1) def on_btnSpinRight_pressed(self, widget, *args): if tux.status.power_plug(): self.get_widget('imgSpin').set_from_pixbuf(self.spin_transfo) + thread.start_new_thread(self.__wait2, ()) return self.get_widget('imgSpin').set_from_file(self.path+'spin_right.png') tux.cmd.spinr_on_free(0) def on_btnSpinRight_released(self, widget, *args): - if tux.status.power_plug(): - self.get_widget('imgSpin').set_from_pixbuf(self.spin_transfo) - return tux.cmd.spinr_on_free(1) def on_btnSpinRun_clicked(self, widget, *args): if tux.status.power_plug(): self.get_widget('imgSpin').set_from_pixbuf(self.spin_transfo) + thread.start_new_thread(self.__wait2, ()) + return if self.__spin_active == False: self.__spin_active = True @@ -686,10 +672,18 @@ tux.cmd.mouth_on(2) def on_key_left(self): + if tux.status.power_plug(): + self.get_widget('imgSpin').set_from_pixbuf(self.spin_transfo) + thread.start_new_thread(self.__wait2, ()) + return self.get_widget('imgSpin').set_from_pixbuf(self.spin_right) tux.cmd.spinr_on(4) def on_key_right(self): + if tux.status.power_plug(): + self.get_widget('imgSpin').set_from_pixbuf(self.spin_transfo) + thread.start_new_thread(self.__wait2, ()) + return self.get_widget('imgSpin').set_from_pixbuf(self.spin_left) tux.cmd.spinl_on(4) @@ -736,7 +730,6 @@ def __update_eyes_buttons(self): - print '3' if _me.get_param('generalStop'): return False tux.sys.wait(0.2) @@ -753,7 +746,6 @@ def __update_mouth_buttons(self): - print '2' if _me.get_param('generalStop'): return False tux.sys.wait(0.2) @@ -770,7 +762,6 @@ def __update_wings_buttons(self): - print '1' if _me.get_param('generalStop'): return False tux.sys.wait(0.2) @@ -786,4 +777,6 @@ return True - + def __wait2(self): + tux.sys.wait(2) + self.get_widget('imgSpin').set_from_pixbuf(self.spin_off) Modified: software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/main.pyp =================================================================== --- software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/main.pyp 2007-12-14 16:42:38 UTC (rev 798) +++ software/gadgets/tux_controller/trunk/TuxController/Scripts/Python/main.pyp 2007-12-17 09:35:17 UTC (rev 799) @@ -5,12 +5,32 @@ import time def on_standby(): + tux.monitoring.remove(_me.get_param('batt')) + tux.monitoring.remove(_me.get_param('light')) + tux.monitoring.remove(_me.get_param('sound')) + tux.event.on_left_blue_led_on = None + tux.event.on_left_blue_led_off = None + tux.event.on_right_blue_led_on = None + tux.event.on_right_blue_led_off = None + tux.event.on_eyes_open = None + tux.event.on_eyes_closed = None + tux.event.on_mouth_open = None + tux.event.on_mouth_close = None + tux.event.on_spin_stop = None + tux.event.on_power_unplugged = None + tux.event.on_remote_bt[K_UP] = None + tux.event.on_remote_bt[K_DOWN] = None + tux.event.on_remote_bt[K_OK] = None + tux.event.on_remote_bt[K_LEFT] = None + tux.event.on_remote_bt[K_RIGHT] = None + tux.event.on_remote_bt[K_RED] = None + tux.event.on_remote_bt[K_GREEN] = None + tux.event.on_remote_bt[K_BLUE] = None + tux.event.on_remote_bt[K_YELLOW] = None tux.cmd.eyes_off() tux.cmd.spinl_off() tux.cmd.spinr_off() tux.cmd.mouth_off() - tux.sys.wait(1) - tux.cmd.eyes_close() tux.cmd.raw(0x31, 0, 0, 0) tux.cmd.eyes_open() tux.cmd.mouth_close() Modified: software/gadgets/tux_controller/trunk/TuxController/Strings/fr_ALL.xml =================================================================== --- software/gadgets/tux_controller/trunk/TuxController/Strings/fr_ALL.xml 2007-12-14 16:42:38 UTC (rev 798) +++ software/gadgets/tux_controller/trunk/TuxController/Strings/fr_ALL.xml 2007-12-17 09:35:17 UTC (rev 799) @@ -1,87 +1,102 @@ <?xml version='1.0' encoding='UTF-8'?> <strings> - <vr_Panel type='str'>Panneau</vr_Panel> - <toolWingsUp type='str'>Lever les ailes</toolWingsUp> - <toolMove type='str'>Nombre de mouvements</toolMove> + <Count type='str'>mouv.</Count> + <Second type='str'>sec.</Second> + <TTS type='str'>Lire</TTS> + <TTSClear type='str'>Effacer</TTSClear> <chkShow type='str'>Commandes avancées</chkShow> + <colStatus type='str'>Statut</colStatus> + <colValue type='str'>Valeur</colValue> + <gui_conf_about_title type='str'>A propos</gui_conf_about_title> + <gui_conf_accept_bt type='str'>Valider</gui_conf_accept_bt> + <gui_conf_author_lb type='str'>Auteur</gui_conf_author_lb> + <gui_conf_cancel_bt type='str'>Annuler</gui_conf_cancel_bt> + <gui_conf_current_bind_lb type='str'>Assignation</gui_conf_current_bind_lb> + <gui_conf_delay_lb type='str'>Délai (sec)</gui_conf_delay_lb> <gui_conf_description_lb type='str'>Description</gui_conf_description_lb> - <toolTTSText type='str'>Entrer le texte ici</toolTTSText> - <lblPitch type='str'>Hauteur du son : </lblPitch> - <lblStop type='str'>Arrêter tous les mouvements</lblStop> - <radSpinDirRight type='str'>A droite</radSpinDirRight> - <gui_conf_accept_bt type='str'>Valider</gui_conf_accept_bt> - <lblLED type='str'>LEDs</lblLED> - <help_text type='str'> - </help_text> - <vr_Wings type='str'>Ailes</vr_Wings> - <tabControl type='str'>Contrôle</tabControl> - <vr_Show type='str'>Afficher</vr_Show> - <lblTTSConf type='str'>Configuration TTS</lblTTSConf> - <toolLEDspin type='str'>Réglage du nombre de clignotement.</toolLEDspin> + <gui_conf_remote_set_bt type='str'>Set</gui_conf_remote_set_bt> <gui_conf_remote_title type='str'>Télécommande</gui_conf_remote_title> - <toolTTSClear type='str'>Effacer la zone de texte</toolTTSClear> - <toolLEDRight type='str'>Allumer/Eteindre la LED droite</toolLEDRight> - <toolMouthRun type='str'>Ce bouton actionne le bec -en utilisant les paramètres définis.</toolMouthRun> + <gui_conf_update_title type='str'>Mise à jour</gui_conf_update_title> <gui_conf_version_lb type='str'>Version</gui_conf_version_lb> - <gui_conf_update_title type='str'>Mise à jour</gui_conf_update_title> - <vr_Eyes type='str'>Yeux</vr_Eyes> + <gui_conf_window_title type='str'>Paramètres</gui_conf_window_title> + <help_text type='str'>-- Gadget Contrôler le robot -- + +Ce gadget permet de contrôler Tux. La fenêtre se compose de deux parties : +La partie de gauche permet de visualiser Tux, ainsi que de lui de faire des mouvements simples. +La partie de droite permet de parametrer d'une manière plus évoluée des mouvements. Après avoir configurer le nombre de mouvements ainsi que la vitesse, les mouvements sont déclenché grâce au bouton représenté par un engrennage. Cette partie peut être masquée en décochant la case 'Commande avancée'. + +Ce gadget permet également de paramêtrer un texte qui sera dit par Tux. Cette partie se trouve en bas de l'écran, en activant la flèche 'TTS'. Il est également possible de changer de locuteur par le panneau de commandes avancées. + +Enfin, les mouvements peuvent être déclenchés grâce à la télécommande : + +Partie: Mv simple : Mv évolués : +Yeux Fleche haut Rouge +Bec OK Vert +Ailes Fleche bas Bleu +Rotation Gauche / droite Jaune</help_text> + <lblBatteryL type='str'>Niveau des batteries</lblBatteryL> <lblConf type='str'>Divers</lblConf> - <TTS type='str'>Lire</TTS> - <toolEyesClose type='str'>Fermer les yeux</toolEyesClose> - <toolLEDLeft type='str'>Allumer/Eteindre la LED gauche</toolLEDLeft> - <gui_conf_delay_lb type='str'>Délai (sec)</gui_conf_delay_lb> + <lblEyes type='str'>Yeux</lblEyes> + <lblFrequency type='str'>Fréquence</lblFrequency> + <lblLED type='str'>LEDs</lblLED> + <lblLightL type='str'>Niveau de lumière</lblLightL> + <lblMouth type='str'>Bec</lblMouth> + <lblPWM type='str'>Vitesse</lblPWM> + <lblPitch type='str'>Pitch : </lblPitch> + <lblSoundL type='str'>Niveau de son</lblSoundL> + <lblSpin type='str'>Rotation</lblSpin> + <lblStop type='str'>Arrêter tous les mouvements</lblStop> <lblTTS type='str'>TTS</lblTTS> - <gui_conf_about_title type='str'>A propos</gui_conf_about_title> - <lblBatteryL type='str'>Niveau des batteries</lblBatteryL> - <toolTTS type='str'>Dire la phrase</toolTTS> + <lblTTSConf type='str'>Configuration TTS</lblTTSConf> + <lblWings type='str'>Ailes</lblWings> + <name_to_read type='str'>Commande du robot</name_to_read> <radSpinDirLeft type='str'>A gauche</radSpinDirLeft> - <toolStopAll type='str'>Ce bouton arrête tous les mouvements.</toolStopAll> - <lblWings type='str'>Ailes</lblWings> - <toolMouthClose type='str'>Fermer le bec</toolMouthClose> + <radSpinDirRight type='str'>A droite</radSpinDirRight> + <speaker_name type='str'>Bruno8k</speaker_name> + <tabControl type='str'>Contrôle</tabControl> + <tabStatus type='str'>Statuts</tabStatus> + <toolAdvanced type='str'>Monter/Cacher les propriété avancées</toolAdvanced> <toolBattery type='str'>Niveau de la batterie</toolBattery> - <Count type='str'>mouv.</Count> - <vr_Flash type='str'>Flash</vr_Flash> - <toolWingsDown type='str'>Baisser les ailes</toolWingsDown> + <toolEyesClose type='str'>Fermer les yeux</toolEyesClose> + <toolEyesOpen type='str'>Ouvrir les yeux</toolEyesOpen> + <toolEyesRun type='str'>Ce bouton fait actionne les yeux +en utilisant les paramêtres définis.</toolEyesRun> + <toolLEDLeft type='str'>Allumer/Eteindre la LED gauche</toolLEDLeft> + <toolLEDRight type='str'>Allumer/Eteindre la LED droite</toolLEDRight> + <toolLEDRun type='str'>Ce bouton fait clignoter les LEDs +en utilisant les paramêtres définis.</toolLEDRun> <toolLEDslide type='str'>Vous pouvez régler ici la fréquence de clignotement des LEDs</toolLEDslide> + <toolLEDspin type='str'>Réglage du nombre de clignotement.</toolLEDspin> + <toolLang type='str'>Configurer la langue TTS</toolLang> + <toolLight type='str'>Niveau de lumière</toolLight> + <toolMouthClose type='str'>Fermer le bec</toolMouthClose> + <toolMouthOpen type='str'>Ouvrir le bec</toolMouthOpen> + <toolMouthRun type='str'>Ce bouton actionne le bec +en utilisant les paramètres définis.</toolMouthRun> + <toolMove type='str'>Nombre de mouvements</toolMove> + <toolPWM type='str'>Réglage de la vitesse</toolPWM> + <toolPitch type='str'>Configurer la hauteur du son</toolPitch> + <toolSound type='str'>Niveau sonore</toolSound> + <toolSpinDir type='str'>Choix du sens de rotation</toolSpinDir> + <toolSpinLeft type='str'>Tourner vers la gauche</toolSpinLeft> + <toolSpinRight type='str'>Tourner vers la droite</toolSpinRight> <toolSpinRun type='str'>Ce bouton fait tourner Tux en utilisant les paramètres définis.</toolSpinRun> - <toolPWM type='str'>Réglage de la vitesse</toolPWM> - <gui_conf_current_bind_lb type='str'>Assignation</gui_conf_current_bind_lb> - <gui_conf_author_lb type='str'>Auteur</gui_conf_author_lb> - <toolEyesRun type='str'>Ce bouton fait actionne les yeux -en utilisant les paramêtres définis.</toolEyesRun> - <toolLEDRun type='str'>Ce bouton fait clignoter les LEDs -en utilisant les paramêtres définis.</toolLEDRun> + <toolStopAll type='str'>Ce bouton arrête tous les mouvements.</toolStopAll> + <toolTTS type='str'>Dire la phrase</toolTTS> + <toolTTSClear type='str'>Effacer la zone de texte</toolTTSClear> + <toolTTSText type='str'>Entrer le texte ici</toolTTSText> + <toolWingsDown type='str'>Baisser les ailes</toolWingsDown> <toolWingsRun type='str'>Ce bouton fait bouger les ailes en utilisant les paramètres définis.</toolWingsRun> - <colValue type='str'>Valeur</colValue> - <lblSpin type='str'>Rotation</lblSpin> - <tabStatus type='str'>Statuts</tabStatus> - <toolMouthOpen type='str'>Ouvrir le bec</toolMouthOpen> - <speaker_name type='str'>Bruno8k</speaker_name> + <toolWingsUp type='str'>Lever les ailes</toolWingsUp> + <vr_Eyes type='str'>Yeux</vr_Eyes> + <vr_Flash type='str'>Flash</vr_Flash> <vr_Hide type='str'>Cacher</vr_Hide> - <gui_conf_remote_set_bt type='str'>Set</gui_conf_remote_set_bt> - <toolSound type='str'>Niveau sonore</toolSound> - <toolLight type='str'>Niveau de lumière</toolLight> - <gui_conf_cancel_bt type='str'>Annuler</gui_conf_cancel_bt> - <name_to_read type='str'>Commande du robot</name_to_read> - <gui_conf_window_title type='str'>Paramètres</gui_conf_window_title> - <toolEyesOpen type='str'>Ouvrir les yeux</toolEyesOpen> - <toolLang type='str'>Configurer la langue TTS</toolLang> - <lblLightL type='str'>Niveau de lumière</lblLightL> - <toolSpinRight type='str'>Tourner vers la droite</toolSpinRight> - <lblEyes type='str'>Yeux</lblEyes> - <lblMouth type='str'>Bec</lblMouth> - <Second type='str'>sec.</Second> + <vr_Leds type='str'>Leds</vr_Leds> <vr_Mouth type='str'>Bouche</vr_Mouth> - <colStatus type='str'>Statut</colStatus> - <vr_Leds type='str'>Leds</vr_Leds> - <toolSpinLeft type='str'>Tourner vers la gauche</toolSpinLeft> - <toolSpinDir type='str'>Choix du sens de rotation</toolSpinDir> - <lblSoundL type='str'>Niveau de son</lblSoundL> - <toolPitch type='str'>Configurer la hauteur du son</toolPitch> - <toolAdvanced type='str'>Monter/Cacher les propriété avancées</toolAdvanced> - <TTSClear type='str'>Effacer</TTSClear> + <vr_Panel type='str'>Panneau</vr_Panel> + <vr_Show type='str'>Afficher</vr_Show> + <vr_Wings type='str'>Ailes</vr_Wings> </strings> Modified: software/gadgets/tux_controller/trunk/TuxController/about.xml =================================================================== --- software/gadgets/tux_controller/trunk/TuxController/about.xml 2007-12-14 16:42:38 UTC (rev 798) +++ software/gadgets/tux_controller/trunk/TuxController/about.xml 2007-12-17 09:35:17 UTC (rev 799) @@ -1,7 +1,7 @@ <?xml version='1.0' encoding='UTF-8'?> <about> - <gadget_name type='str'>tux_controller</gadget_name> <gadget_author type='str'>Paul Rathgeb</gadget_author> <gadget_description type='str'>Empty gadget for Tux Droid.</gadget_description> - <gadget_version type='str'>0.0.1</gadget_version> + <gadget_name type='str'>tux_controller</gadget_name> + <gadget_version type='str'>0.1.0</gadget_version> </about> Modified: software/gadgets/tux_controller/trunk/TuxController/settings.xml =================================================================== --- software/gadgets/tux_controller/trunk/TuxController/settings.xml 2007-12-14 16:42:38 UTC (rev 798) +++ software/gadgets/tux_controller/trunk/TuxController/settings.xml 2007-12-17 09:35:17 UTC (rev 799) @@ -1,32 +1,32 @@ <?xml version='1.0' encoding='UTF-8'?> <settings> - <parameters> - <hidden_in_manager type='bool'>False</hidden_in_manager> - <speaker type='int'>3</speaker> - <pitch type='int'>100</pitch> - </parameters> <general> - <have_settings_part type='bool'>True</have_settings_part> + <framework_version type='str'>0.0.0</framework_version> <gui_state> + <conf> + <visible type='bool'>False</visible> + </conf> <widget> - <y type='int'>160</y> <visible type='bool'>True</visible> <x type='int'>295</x> + <y type='int'>160</y> </widget> - <conf> - <visible type='bool'>False</visible> - </conf> </gui_state> + <have_main_part type='bool'>True</have_main_part> + <have_settings_part type='bool'>True</have_settings_part> + <have_widget_part type='bool'>False</have_widget_part> <language type='str'>en_US</language> + <main_priority type='int'>4</main_priority> + <menu_active type='bool'>True</menu_active> <notified type='bool'>False</notified> <notify_delay type='int'>60</notify_delay> - <framework_version type='str'>0.0.0</framework_version> - <menu_active type='bool'>True</menu_active> - <have_widget_part type='bool'>False</have_widget_part> + <notify_priority type='int'>4</notify_priority> + <pitch type='int'>100</pitch> <speaker type='int'>3</speaker> + </general> + <parameters> + <hidden_in_manager type='bool'>False</hidden_in_manager> <pitch type='int'>100</pitch> - <have_main_part type='bool'>True</have_main_part> - <main_priority type='int'>4</main_priority> - <notify_priority type='int'>4</notify_priority> - </general> + <speaker type='int'>3</speaker> + </parameters> </settings> Modified: software/gadgets/tux_controller/trunk/TuxController/strings.xml =================================================================== --- software/gadgets/tux_controller/trunk/TuxController/strings.xml 2007-12-14 16:42:38 UTC (rev 798) +++ software/gadgets/tux_controller/trunk/TuxController/strings.xml 2007-12-17 09:35:17 UTC (rev 799) @@ -1,87 +1,89 @@ <?xml version='1.0' encoding='UTF-8'?> <strings> - <toolWingsUp type='str'>Lever les ailes</toolWingsUp> - <lblLightL type='str'>Light level</lblLightL> - <toolMove type='str'>Nombre de mouvements</toolMove> + <Count type='str'>count</Count> + <Second type='str'>sec.</Second> + <TTS type='str'>Play</TTS> + <TTSClear type='str'>Clear</TTSClear> + <chkShow type='str'>Advanced view</chkShow> + <colStatus type='str'>Status</colStatus> + <colValue type='str'>Value</colValue> + <gui_conf_about_title type='str'>About</gui_conf_about_title> + <gui_conf_accept_bt type='str'>Accept</gui_conf_accept_bt> + <gui_conf_author_lb type='str'>Author</gui_conf_author_lb> <gui_conf_cancel_bt type='str'>Cancel</gui_conf_cancel_bt> - <chkShow type='str'>Advanced view</chkShow> + <gui_conf_current_bind_lb type='str'>Current</gui_conf_current_bind_lb> + <gui_conf_delay_lb type='str'>Delay (sec)</gui_conf_delay_lb> <gui_conf_description_lb type='str'>Description</gui_conf_description_lb> - <toolTTSText type='str'>Entrer le texte ici</toolTTSText> - <lblPitch type='str'>Pitch : </lblPitch> - <lblStop type='str'>Stop all movements</lblStop> - <radSpinDirRight type='str'>Spin right</radSpinDirRight> - <gui_conf_accept_bt type='str'>Accept</gui_conf_accept_bt> <gui_conf_remote_set_bt type='str'>Set</gui_conf_remote_set_bt> - <lblLED type='str'>LEDs</lblLED> + <gui_conf_remote_title type='str'>Remote</gui_conf_remote_title> + <gui_conf_update_title type='str'>Update</gui_conf_update_title> + <gui_conf_version_lb type='str'>Version</gui_conf_version_lb> + <gui_conf_window_title type='str'>Parameters</gui_conf_window_title> <help_text type='str'> </help_text> - <vr_Wings type='str'>Wings</vr_Wings> - <tabControl type='str'>Control</tabControl> - <vr_Show type='str'>Show</vr_Show> - <lblTTSConf type='str'>TTS configuration</lblTTSConf> - <toolLEDspin type='str'>Réglage du nombre de clignotement.</toolLEDspin> - <gui_conf_remote_title type='str'>Remote</gui_conf_remote_title> - <toolTTSClear type='str'>Effacer la zone de texte</toolTTSClear> - <toolLEDRight type='str'>Allumer/Eteindre la LED droite</toolLEDRight> - <toolMouthRun type='str'>Ce bouton actionne le bec -en utilisant les paramètres définis.</toolMouthRun> - <gui_conf_version_lb type='str'>Version</gui_conf_version_lb> - <gui_conf_update_title type='str'>Update</gui_conf_update_title> - <vr_Eyes type='str'>Eyes</vr_Eyes> + <lblBatteryL type='str'>Battery level</lblBatteryL> <lblConf type='str'>Misc</lblConf> - <TTS type='str'>Play</TTS> - <toolEyesClose type='str'>Fermer les yeux</toolEyesClose> - <gui_conf_delay_lb type='str'>Delay (sec)</gui_conf_delay_lb> + <lblEyes type='str'>Eyes</lblEyes> + <lblFrequency type='str'>Frequency</lblFrequency> + <lblLED type='str'>LEDs</lblLED> + <lblLightL type='str'>Light level</lblLightL> + <lblMouth type='str'>Beak</lblMouth> + <lblPWM type='str'>Speed</lblPWM> + <lblPitch type='str'>Pitch : </lblPitch> + <lblSoundL type='str'>Sound level</lblSoundL> + <lblSpin type='str'>Spinning</lblSpin> + <lblStop type='str'>Stop all movements</lblStop> <lblTTS type='str'>TTS</lblTTS> - <gui_conf_about_title type='str'>About</gui_conf_about_title> - <lblBatteryL type='str'>Battery level</lblBatteryL> - <toolTTS type='str'>Dire la phrase</toolTTS> + <lblTTSConf type='str'>TTS configuration</lblTTSConf> + <lblWings type='str'>Wings</lblWings> + <name_to_read type='str'>Controller</name_to_read> <radSpinDirLeft type='str'>Spin left</radSpinDirLeft> - <toolStopAll type='str'>Ce bouton arrête tous les mouvements.</toolStopAll> - <lblWings type='str'>Wings</lblWings> + <radSpinDirRight type='str'>Spin right</radSpinDirRight> <speaker_name type='str'>Ryan8k</speaker_name> - <Count type='str'>count</Count> + <tabControl type='str'>Control</tabControl> <tabStatus type='str'>Status</tabStatus> - <vr_Flash type='str'>Flash</vr_Flash> - <TTSClear type='str'>Clear</TTSClear> - <toolWingsDown type='str'>Baisser les ailes</toolWingsDown> - <gui_conf_window_title type='str'>Parameters</gui_conf_window_title> - <lblSoundL type='str'>Sound level</lblSoundL> - <toolPWM type='str'>Réglage de la vitesse</toolPWM> - <gui_conf_current_bind_lb type='str'>Current</gui_conf_current_bind_lb> - <gui_conf_author_lb type='str'>Author</gui_conf_author_lb> + <toolAdvanced type='str'>Monter/Cacher les propriété avancées</toolAdvanced> + <toolBattery type='str'>Niveau de la batterie</toolBattery> + <toolEyesClose type='str'>Fermer les yeux</toolEyesClose> + <toolEyesOpen type='str'>Ouvrir les yeux</toolEyesOpen> <toolEyesRun type='str'>Ce bouton actionne les yeux en utilisant les paramètres définis.</toolEyesRun> + <toolLEDLeft type='str'>Allumer/Eteindre la LED gauche</toolLEDLeft> + <toolLEDRight type='str'>Allumer/Eteindre la LED droite</toolLEDRight> <toolLEDRun type='str'>Ce bouton fait clignoter les LEDs en utilisant les paramètres définis.</toolLEDRun> - <colValue type='str'>Value</colValue> - <toolSpinRun type='str'>Ce bouton fait tourner Tux en -utilisant les paramètres définis.</toolSpinRun> - <toolMouthOpen type='str'>Ouvrir le bec</toolMouthOpen> - <toolMouthClose type='str'>Fermer le bec</toolMouthClose> - <vr_Hide type='str'>Hide</vr_Hide> <toolLEDslide type='str'>Vous pouvez régler ici la fréquence de clignotement des LEDs</toolLEDslide> + <toolLEDspin type='str'>Réglage du nombre de clignotement.</toolLEDspin> + <toolLang type='str'>Configurer la langue TTS</toolLang> + <toolLight type='str'>Niveau de lumière</toolLight> + <toolMouthClose type='str'>Fermer le bec</toolMouthClose> + <toolMouthOpen type='str'>Ouvrir le bec</toolMouthOpen> + <toolMouthRun type='str'>Ce bouton actionne le bec +en utilisant les paramètres définis.</toolMouthRun> + <toolMove type='str'>Nombre de mouvements</toolMove> + <toolPWM type='str'>Réglage de la vitesse</toolPWM> + <toolPitch type='str'>Configurer la hauteur du son</toolPitch> <toolSound type='str'>Niveau sonore</toolSound> - <toolLight type='str'>Niveau de lumière</toolLight> - <toolLEDLeft type='str'>Allumer/Eteindre la LED gauche</toolLEDLeft> - <name_to_read type='str'>Controller</name_to_read> - <lblSpin type='str'>Spinning</lblSpin> - <toolAdvanced type='str'>Monter/Cacher les propriété avancées</toolAdvanced> - <toolBattery type='str'>Niveau de la batterie</toolBattery> - <vr_Panel type='str'>Panel</vr_Panel> + <toolSpinDir type='str'>Choix du sens de rotation</toolSpinDir> + <toolSpinLeft type='str'>Tourner vers la gauche</toolSpinLeft> <toolSpinRight type='str'>Tourner vers la droite</toolSpinRight> - <lblMouth type='str'>Beak</lblMouth> - <lblEyes type='str'>Eyes</lblEyes> - <Second type='str'>sec.</Second> - <vr_Mouth type='str'>Mouth</vr_Mouth> - <colStatus type='str'>Status</colStatus> - <vr_Leds type='str'>Leds</vr_Leds> - <toolSpinLeft type='str'>Tourner vers la gauche</toolSpinLeft> - <toolSpinDir type='str'>Choix du sens de rotation</toolSpinDir> + <toolSpinRun type='str'>Ce bouton fait tourner Tux en +utilisant les paramètres définis.</toolSpinRun> + <toolStopAll type='str'>Ce bouton arrête tous les mouvements.</toolStopAll> + <toolTTS type='str'>Dire la phrase</toolTTS> + <toolTTSClear type='str'>Effacer la zone de texte</toolTTSClear> + <toolTTSText type='str'>Entrer le texte ici</toolTTSText> + <toolWingsDown type='str'>Baisser les ailes</toolWingsDown> <toolWingsRun type='str'>Ce bouton fait bouger les ailes en utilisant les paramètres définis.</toolWingsRun> - <toolPitch type='str'>Configurer la hauteur du son</toolPitch> - <toolEyesOpen type='str'>Ouvrir les yeux</toolEyesOpen> - <toolLang type='str'>Configurer la langue TTS</toolLang> + <toolWingsUp type='str'>Lever les ailes</toolWingsUp> + <vr_Eyes type='str'>Eyes</vr_Eyes> + <vr_Flash type='str'>Flash</vr_Flash> + <vr_Hide type='str'>Hide</vr_Hide> + <vr_Leds type='str'>Leds</vr_Leds> + <vr_Mouth type='str'>Mouth</vr_Mouth> + <vr_Panel type='str'>Panel</vr_Panel> + <vr_Show type='str'>Show</vr_Show> + <vr_Wings type='str'>Wings</vr_Wings> </strings> Modified: software/gadgets/tux_controller/trunk/TuxController.tgf =================================================================== (Binary files differ) |