Fun with PWM  0.32
TkIMUManager.TkIMUManager Class Reference

UI for IMU manager. More...

Inheritance diagram for TkIMUManager.TkIMUManager:
TkBlock.TkPage TkBlock.TkBlock

Public Member Functions

def __init__ (self, parent, gui, options)
 
def initImages (self)
 
def setup (self)
 
def serviceManager (self)
 
def showData (self)
 
def showOrientation (self)
 
def updateData (self)
 
def updateDataOptions (self)
 
def disableDataOption (self, wname, vname, sname)
 
def updatePreview (self)
 
def unavailable (self)
 
def OnStartClick (self)
 
def OnStopClick (self)
 
def OnToggleAutostartClick (self)
 
def OnCalibrateClick (self)
 
def OnToggleArchiveGyroRaw (self)
 
def OnToggleArchiveAccRaw (self)
 
def OnToggleArchiveGyroNorm (self)
 
def OnToggleArchiveAccNorm (self)
 
def OnToggleArchiveGyroAng (self)
 
def OnToggleArchiveGyroAngInc (self)
 
def OnToggleArchiveAccAng (self)
 
def OnToggleArchiveLow (self)
 
def OnToggleArchiveHigh (self)
 
def OnToggleArchiveCom (self)
 
def OnToggleWatchRawClick (self)
 
def OnToggleDisplayRawClick (self)
 
def OnToggleWatchNormClick (self)
 
def OnToggleDisplayNormClick (self)
 
def OnToggleWatchAngClick (self)
 
def OnToggleDisplayAngClick (self)
 
def OnToggleWatchComClick (self)
 
def OnToggleDisplayComClick (self)
 
def OnToggleWatchLowClick (self)
 
def OnToggleDisplayLowClick (self)
 
def OnToggleWatchHighClick (self)
 
def OnToggleDisplayHighClick (self)
 
def OnShowIMUDataClick (self)
 
def OnOrientationClick (self)
 
- Public Member Functions inherited from TkBlock.TkPage
def __init__ (self, parent, gui, options)
 
def open (self)
 
- Public Member Functions inherited from TkBlock.TkBlock
def __init__ (self, parent, gui, options)
 
def setup (self)
 
def initWidget (self)
 
def addMenu (self, menu, label="-")
 
def open (self)
 
def close (self)
 
def genericView (self, parent, value)
 
def numberView (self, parent, value)
 
def stringView (self, parent, value)
 
def dictView (self, parent, value)
 
def iterView (self, parent, value)
 

Public Attributes

 specification
 
 scheduler
 
 imu
 
 poll
 
 metrics
 
 facing
 
 offset
 
 oimages
 
 upoll
 
 autostart
 
- Public Attributes inherited from TkBlock.TkBlock
 gui
 
 parent
 
 height
 
 variables
 
 notifier
 
 colours
 
 fonts
 
 images
 
 wrap
 
 canvas
 
 widget
 
 yScroller
 
 xScroller
 
 widgets
 
 gridrow
 

Detailed Description

UI for IMU manager.

Constructor & Destructor Documentation

§ __init__()

def TkIMUManager.TkIMUManager.__init__ (   self,
  parent,
  gui,
  options 
)
Initializes TkIMUManager object

@param parent
@param gui
@param options

Member Function Documentation

§ disableDataOption()

def TkIMUManager.TkIMUManager.disableDataOption (   self,
  wname,
  vname,
  sname 
)
util - disables the given data option

@param wname widget name
@param vname variable name
@param sname setting name

§ initImages()

def TkIMUManager.TkIMUManager.initImages (   self)
initializes images

§ OnCalibrateClick()

def TkIMUManager.TkIMUManager.OnCalibrateClick (   self)
action - triggers calibration

§ OnOrientationClick()

def TkIMUManager.TkIMUManager.OnOrientationClick (   self)
action - displays the orientation page

§ OnShowIMUDataClick()

def TkIMUManager.TkIMUManager.OnShowIMUDataClick (   self)
action - displays the imu data page

§ OnStartClick()

def TkIMUManager.TkIMUManager.OnStartClick (   self)
action - starts the imu service

§ OnStopClick()

def TkIMUManager.TkIMUManager.OnStopClick (   self)
action - stops the imu service

§ OnToggleArchiveAccAng()

def TkIMUManager.TkIMUManager.OnToggleArchiveAccAng (   self)
action - enable / disable acc angle archive

§ OnToggleArchiveAccNorm()

def TkIMUManager.TkIMUManager.OnToggleArchiveAccNorm (   self)
action - enable / disable acc normal archive

§ OnToggleArchiveAccRaw()

def TkIMUManager.TkIMUManager.OnToggleArchiveAccRaw (   self)
action - enable / disable acc raw archive

§ OnToggleArchiveCom()

def TkIMUManager.TkIMUManager.OnToggleArchiveCom (   self)
action - enable / disable complementary archive

§ OnToggleArchiveGyroAng()

def TkIMUManager.TkIMUManager.OnToggleArchiveGyroAng (   self)
action - enable / disable gyro angle archive

§ OnToggleArchiveGyroAngInc()

def TkIMUManager.TkIMUManager.OnToggleArchiveGyroAngInc (   self)
action - enable / disable gyro angle increment archive

§ OnToggleArchiveGyroNorm()

def TkIMUManager.TkIMUManager.OnToggleArchiveGyroNorm (   self)
action - enable / disable gyro normal archive

§ OnToggleArchiveGyroRaw()

def TkIMUManager.TkIMUManager.OnToggleArchiveGyroRaw (   self)
action - enable / disable gyro raw archive

§ OnToggleArchiveHigh()

def TkIMUManager.TkIMUManager.OnToggleArchiveHigh (   self)
action - enable / disable highpass archive

§ OnToggleArchiveLow()

def TkIMUManager.TkIMUManager.OnToggleArchiveLow (   self)
action - enable / disable lowpass archive

§ OnToggleAutostartClick()

def TkIMUManager.TkIMUManager.OnToggleAutostartClick (   self)
action - toggle service autostart

§ OnToggleDisplayAngClick()

def TkIMUManager.TkIMUManager.OnToggleDisplayAngClick (   self)
action - enable / disable angle display

§ OnToggleDisplayComClick()

def TkIMUManager.TkIMUManager.OnToggleDisplayComClick (   self)
action - enable / disable com display

§ OnToggleDisplayHighClick()

def TkIMUManager.TkIMUManager.OnToggleDisplayHighClick (   self)
action - enable / disable high display

§ OnToggleDisplayLowClick()

def TkIMUManager.TkIMUManager.OnToggleDisplayLowClick (   self)
action - enable / disable low display

§ OnToggleDisplayNormClick()

def TkIMUManager.TkIMUManager.OnToggleDisplayNormClick (   self)
action - enable / disable norm display

§ OnToggleDisplayRawClick()

def TkIMUManager.TkIMUManager.OnToggleDisplayRawClick (   self)
action - enable / disable raw display

§ OnToggleWatchAngClick()

def TkIMUManager.TkIMUManager.OnToggleWatchAngClick (   self)
action - enable / disable ang data

§ OnToggleWatchComClick()

def TkIMUManager.TkIMUManager.OnToggleWatchComClick (   self)
action - enable / disable com data

§ OnToggleWatchHighClick()

def TkIMUManager.TkIMUManager.OnToggleWatchHighClick (   self)
action - enable / disable high data

§ OnToggleWatchLowClick()

def TkIMUManager.TkIMUManager.OnToggleWatchLowClick (   self)
action - enable / disable low data

§ OnToggleWatchNormClick()

def TkIMUManager.TkIMUManager.OnToggleWatchNormClick (   self)
action - enable / disable norm data

§ OnToggleWatchRawClick()

def TkIMUManager.TkIMUManager.OnToggleWatchRawClick (   self)
action - enable / disable raw data

§ serviceManager()

def TkIMUManager.TkIMUManager.serviceManager (   self)
view - displays the service manager

§ setup()

def TkIMUManager.TkIMUManager.setup (   self)
setup gui menu

§ showData()

def TkIMUManager.TkIMUManager.showData (   self)
view - shows imu data (and service manager)

§ showOrientation()

def TkIMUManager.TkIMUManager.showOrientation (   self)
view - displays orientation page

§ unavailable()

def TkIMUManager.TkIMUManager.unavailable (   self)
view - fallback for missing imu

§ updateData()

def TkIMUManager.TkIMUManager.updateData (   self)
util - updates imu data ui

§ updateDataOptions()

def TkIMUManager.TkIMUManager.updateDataOptions (   self)
util - updates imu data option states

§ updatePreview()

def TkIMUManager.TkIMUManager.updatePreview (   self)
util - updates orientation preview

The documentation for this class was generated from the following file: