Ignore:
Timestamp:
07/02/10 03:17:56 (11 years ago)
Author:
sc
Message:

remote_control/puzzlebox_brainstorms_network_client.py:

  • power transmission settings added

remote_control/puzzlebox_brainstorms_remote_control.py:

  • custom power settings added

remote_control/puzzlebox_brainstorms_client_interface.py:

  • power transmission settings added
  • udpateSpeed method tracks and calculates power settings
  • power transmission settings added

remote_control/puzzlebox_brainstorms_configuration.ini:

  • DEFAULT_NXT_POWER_LEVEL added and set to 80

remote_control/interface/qt4_form.py:

  • font sizes tweaked

remote_control/puzzlebox_brainstorms_configuration.py:

  • DEFAULT_NXT_POWER_LEVEL added and set to 80

remote_control/puzzlebox_brainstorms_network_server.py

  • power transmission settings added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/interface/qt4_form.py

    r78 r84  
    33# Form implementation generated from reading ui file 'qt4_form.ui' 
    44# 
    5 # Created: Tue Jun 29 22:50:51 2010 
     5# Created: Thu Jul  1 15:54:34 2010 
    66#      by: PyQt4 UI code generator 4.7.3 
    77# 
     
    10901090"p, li { white-space: pre-wrap; }\n" 
    10911091"</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" 
    1092 "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a href=\"http://brainstorms.puzzlebox.info\"><span style=\" font-size:12pt; text-decoration: none; color:#000000;\">Puzzlebox<br />Brainstorms</span></a></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 
     1092"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a href=\"http://brainstorms.puzzlebox.info\"><span style=\" font-size:11pt; text-decoration: none; color:#000000;\">Puzzlebox<br />Brainstorms</span></a></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 
    10931093                self.textLabelNXTStatus.setText(QtGui.QApplication.translate("Form", "<p align=\"center\">Status: Disconnected</p>", None, QtGui.QApplication.UnicodeUTF8)) 
    10941094                self.textLabelNXTPort.setText(QtGui.QApplication.translate("Form", "<p align=\"center\">Port</p>", None, QtGui.QApplication.UnicodeUTF8)) 
    10951095                self.pushButtonNXTConnect.setText(QtGui.QApplication.translate("Form", "Connect", None, QtGui.QApplication.UnicodeUTF8)) 
    1096                 self.textLabelConcentration.setText(QtGui.QApplication.translate("Form", "<p align=\"center\">Concentration</p>", None, QtGui.QApplication.UnicodeUTF8)) 
    1097                 self.textLabelRelaxation.setText(QtGui.QApplication.translate("Form", "<p align=\"center\">Relaxation</p>", None, QtGui.QApplication.UnicodeUTF8)) 
     1096                self.textLabelConcentration.setText(QtGui.QApplication.translate("Form", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 
     1097"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 
     1098"p, li { white-space: pre-wrap; }\n" 
     1099"</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" 
     1100"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:9pt;\">Concentration</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 
     1101                self.textLabelRelaxation.setText(QtGui.QApplication.translate("Form", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 
     1102"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 
     1103"p, li { white-space: pre-wrap; }\n" 
     1104"</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" 
     1105"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:9pt;\">Relaxation</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 
    10981106                self.pushButtonForward.setShortcut(QtGui.QApplication.translate("Form", "W, Up", None, QtGui.QApplication.UnicodeUTF8)) 
    10991107                self.pushButtonTurnRight.setShortcut(QtGui.QApplication.translate("Form", "D, Right", None, QtGui.QApplication.UnicodeUTF8)) 
     
    11251133"p, li { white-space: pre-wrap; }\n" 
    11261134"</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" 
    1127 "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Speed</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 
     1135"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:9pt;\">Speed</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) 
    11281136                self.pushButtonConcentrationEnable.setText(QtGui.QApplication.translate("Form", "Enabled", None, QtGui.QApplication.UnicodeUTF8)) 
    1129                 self.pushButtonRelaxationEnable.setText(QtGui.QApplication.translate("Form", "Disabled", None, QtGui.QApplication.UnicodeUTF8)) 
     1137                self.pushButtonRelaxationEnable.setText(QtGui.QApplication.translate("Form", "Enabled", None, QtGui.QApplication.UnicodeUTF8)) 
    11301138                self.pushButtonSpeedEnable.setText(QtGui.QApplication.translate("Form", "Enabled", None, QtGui.QApplication.UnicodeUTF8)) 
    11311139 
Note: See TracChangeset for help on using the changeset viewer.