Rev 651 | Rev 654 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 651 | Rev 653 | ||
---|---|---|---|
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: 651 $ |
6 | # Mikrokopter VibrationTest Rev: $Rev: 653 $ |
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 779... | Line 779... | ||
779 | def onAbout(self, event): # wxGlade: MainFrame.<event_handler> |
779 | def onAbout(self, event): # wxGlade: MainFrame.<event_handler> |
780 | # First we create and fill the info object |
780 | # First we create and fill the info object |
781 | print "about" |
781 | print "about" |
782 | info = wx.AboutDialogInfo() |
782 | info = wx.AboutDialogInfo() |
783 | info.Name = "MK Vibration Test - " |
783 | info.Name = "MK Vibration Test - " |
784 | info.Version = "v0.9 RC2 ($Rev: 651 $)".replace("$","") |
784 | info.Version = "v0.9 RC3 ($Rev: 653 $)".replace("$","") |
785 | info.Copyright = "" |
785 | info.Copyright = "" |
786 | info.Developers=["Frederic Goddeeris (Frederic@rc-flight.be)"] |
786 | info.Developers=["Frederic Goddeeris (Frederic@rc-flight.be)"] |
787 | info.Description = "Please consult the WIKI page for a complete description of the tool:" |
787 | info.Description = "Please consult the WIKI page for a complete description of the tool:" |
788 | info.WebSite = ("http://www.mikrokopter.de/ucwiki/en/VibrationTest", "VibrationTest WIKI page") |
788 | info.WebSite = ("http://www.mikrokopter.de/ucwiki/en/VibrationTest", "VibrationTest WIKI page") |
789 | wx.AboutBox(info) |
789 | wx.AboutBox(info) |
Line 865... | Line 865... | ||
865 | self.currSpeed = 0 |
865 | self.currSpeed = 0 |
Line 866... | Line 866... | ||
866 | 866 | ||
867 | try: |
867 | try: |
868 | self._sendEvent("Opening SerialPort \"%s\"" % self.param.serialPort) |
868 | self._sendEvent("Opening SerialPort \"%s\"" % self.param.serialPort) |
- | 869 | self.mk.open(comPort=self.param.serialPort) |
|
- | 870 | ||
- | 871 | print "Sending FC->NC forwarding", |
|
- | 872 | self.mk.sendNCRedirectUartFromFC() |
|
Line 869... | Line 873... | ||
869 | self.mk.open(comPort=self.param.serialPort) |
873 | print "Done" |
870 | 874 | ||
871 | msg = self.mk.getVersionMsg() |
875 | msg = self.mk.getVersionMsg() |