Subversion Repositories Projects

Rev

Rev 700 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 700 Rev 701
Line 1... Line 1...
1
#!/usr/bin/env python
1
#!/usr/bin/env python
2
# -*- coding: iso-8859-15 -*-
2
# -*- coding: iso-8859-15 -*-
3
# generated by wxGlade 0.6.3 on Thu Sep 24 15:46:36 2009
3
# generated by wxGlade 0.6.3 on Thu Sep 24 15:46:36 2009
Line 4... Line 4...
4
 
4
 
5
#
5
#
6
# Mikrokopter VibrationTest  Rev: $Rev: 700 $
6
# Mikrokopter VibrationTest  Rev: $Rev: 701 $
7
#
7
#
8
# Author: Frederic Goddeeris   (frederic@rc-flight.be) 
8
# Author: Frederic Goddeeris   (frederic@rc-flight.be) 
Line 9... Line 9...
9
#
9
#
Line 823... Line 823...
823
    def onAbout(self, event): # wxGlade: MainFrame.<event_handler>
823
    def onAbout(self, event): # wxGlade: MainFrame.<event_handler>
824
         # First we create and fill the info object
824
         # First we create and fill the info object
825
        print "about"
825
        print "about"
826
        info = wx.AboutDialogInfo()
826
        info = wx.AboutDialogInfo()
827
        info.Name = "MK Vibration Test - "
827
        info.Name = "MK Vibration Test - "
828
        info.Version = "v1.2 ($Rev: 700 $)".replace("$","")
828
        info.Version = "v1.2 ($Rev: 701 $)".replace("$","")
829
        info.Copyright = ""
829
        info.Copyright = ""
830
        info.Developers=["Frederic Goddeeris  (Frederic@rc-flight.be)"]
830
        info.Developers=["Frederic Goddeeris  (Frederic@rc-flight.be)"]
831
        info.Description = "Please consult the WIKI page for a complete description of the tool:"
831
        info.Description = "Please consult the WIKI page for a complete description of the tool:"
832
        info.WebSite = ("http://www.mikrokopter.de/ucwiki/en/VibrationTest", "VibrationTest WIKI page")
832
        info.WebSite = ("http://www.mikrokopter.de/ucwiki/en/VibrationTest", "VibrationTest WIKI page")
833
        wx.AboutBox(info)
833
        wx.AboutBox(info)
Line 869... Line 869...
869
class MeasureParameters:
869
class MeasureParameters:
870
      pass
870
      pass
Line 871... Line 871...
871
 
871
 
872
class MeasureThread:
872
class MeasureThread:
873
    def __init__(self, measureParameters, evtConsumer):
873
    def __init__(self, measureParameters, evtConsumer):
874
        self.mk = mkProto.MkComm()
874
        self.mk = MkProtocol.MkComm()
875
        self.param = measureParameters
875
        self.param = measureParameters
876
        self.evtConsumer = evtConsumer
876
        self.evtConsumer = evtConsumer
877
        self.cancel = False
877
        self.cancel = False