Public Member Functions | Static Public Attributes | Private Attributes | List of all members
kobuki_qtestsuite.life_frame.LifeFrame Class Reference

Classes. More...

Inheritance diagram for kobuki_qtestsuite.life_frame.LifeFrame:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, parent=None)
 
def hibernate (self)
 Widget Management. More...
 
def on_angular_speed_spinbox_valueChanged (self, value)
 
def on_start_button_clicked (self)
 Qt Callbacks. More...
 
def on_stop_button_clicked (self)
 
def restore (self)
 
def setupUi (self)
 
def shutdown (self)
 
def start (self)
 Motion Callbacks. More...
 
def stop (self)
 
def update_progress_callback (self)
 Timer Callbacks. More...
 

Static Public Attributes

string STATE_IDLE = "idle"
 
string STATE_RUN = "running"
 
string STATE_STOPPED = "stopped"
 

Private Attributes

 _is_alive
 
 _motion
 
 _motion_thread
 
 _state
 
 _timer
 
 _ui
 

Detailed Description

Classes.

Definition at line 34 of file life_frame.py.

Constructor & Destructor Documentation

def kobuki_qtestsuite.life_frame.LifeFrame.__init__ (   self,
  parent = None 
)

Definition at line 39 of file life_frame.py.

Member Function Documentation

def kobuki_qtestsuite.life_frame.LifeFrame.hibernate (   self)

Widget Management.

  This gets called when the frame goes out of focus (tab switch).
  Disable everything to avoid running N tabs in parallel when in
  reality we are only running one.

Definition at line 68 of file life_frame.py.

def kobuki_qtestsuite.life_frame.LifeFrame.on_angular_speed_spinbox_valueChanged (   self,
  value 
)

Definition at line 118 of file life_frame.py.

def kobuki_qtestsuite.life_frame.LifeFrame.on_start_button_clicked (   self)

Qt Callbacks.

Definition at line 104 of file life_frame.py.

def kobuki_qtestsuite.life_frame.LifeFrame.on_stop_button_clicked (   self)

Definition at line 111 of file life_frame.py.

def kobuki_qtestsuite.life_frame.LifeFrame.restore (   self)
  Restore the frame after a hibernate.

Definition at line 76 of file life_frame.py.

def kobuki_qtestsuite.life_frame.LifeFrame.setupUi (   self)

Definition at line 51 of file life_frame.py.

def kobuki_qtestsuite.life_frame.LifeFrame.shutdown (   self)
  Used to terminate the plugin

Definition at line 57 of file life_frame.py.

def kobuki_qtestsuite.life_frame.LifeFrame.start (   self)

Motion Callbacks.

Definition at line 87 of file life_frame.py.

def kobuki_qtestsuite.life_frame.LifeFrame.stop (   self)

Definition at line 94 of file life_frame.py.

def kobuki_qtestsuite.life_frame.LifeFrame.update_progress_callback (   self)

Timer Callbacks.

Definition at line 126 of file life_frame.py.

Member Data Documentation

kobuki_qtestsuite.life_frame.LifeFrame._is_alive
private

Definition at line 49 of file life_frame.py.

kobuki_qtestsuite.life_frame.LifeFrame._motion
private

Definition at line 42 of file life_frame.py.

kobuki_qtestsuite.life_frame.LifeFrame._motion_thread
private

Definition at line 43 of file life_frame.py.

kobuki_qtestsuite.life_frame.LifeFrame._state
private

Definition at line 48 of file life_frame.py.

kobuki_qtestsuite.life_frame.LifeFrame._timer
private

Definition at line 44 of file life_frame.py.

kobuki_qtestsuite.life_frame.LifeFrame._ui
private

Definition at line 41 of file life_frame.py.

string kobuki_qtestsuite.life_frame.LifeFrame.STATE_IDLE = "idle"
static

Definition at line 37 of file life_frame.py.

string kobuki_qtestsuite.life_frame.LifeFrame.STATE_RUN = "running"
static

Definition at line 36 of file life_frame.py.

string kobuki_qtestsuite.life_frame.LifeFrame.STATE_STOPPED = "stopped"
static

Definition at line 35 of file life_frame.py.


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


kobuki_qtestsuite
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:53:02