drop_test::DropTestFrame Class Reference

Displays instructions for user to run test, makes sure part is working. More...

List of all members.

Public Member Functions

def __init__
def check_drop
 Verify that drop was OK, move to next drop.
def display_drop_structs
 Display instructions for drop in window.
def is_ok
 OK if no dropped packets and motors running.
def is_pass
 Pass if OK and we've completed all drops w/o canceling.
def on_cancel
 Cancel test, report failure.
def on_continue
 Proceed to next drop, or pass if done.
def post_drop_check
 Load post-drop instructions, or pass drop test.
def send_results
 Send results to qualification manager.
def start_test
 Load pre-drop instructions if any, or proceed.
def test_error_service_call
 Error, send failure data to manager.

Public Attributes

 complete
 data_sent
 drops
 postdrop
 predrop
 result_service
 test_name
 total

Private Member Functions

def _check_msgs
 Checks diagnostics for EtherCAT Master, makes sure OK.
def _diag_cb
 Callback for diagnostics msgs.
def _write_drop_data
 Write data from each drop.
def _write_result
 Write data from entire drop test in HTML.
def _write_summary
 Write summary of drop test.

Private Attributes

 _cancel_button
 _canceled
 _continue_button
 _current_drop
 _current_drop_count
 _diag_sub
 _drop_packets
 _eth_master_ok
 _html_window
 _msgs
 _mutex
 _panel
 _sizer
 _state

Detailed Description

Displays instructions for user to run test, makes sure part is working.

Definition at line 93 of file drop_test.py.


Member Function Documentation

def drop_test::DropTestFrame::__init__ (   self,
  parent,
  test_name,
  pre,
  post,
  drops 
)

Definition at line 94 of file drop_test.py.

def drop_test::DropTestFrame::_check_msgs (   self  )  [private]

Checks diagnostics for EtherCAT Master, makes sure OK.

Definition at line 205 of file drop_test.py.

def drop_test::DropTestFrame::_diag_cb (   self,
  msg 
) [private]

Callback for diagnostics msgs.

Definition at line 192 of file drop_test.py.

def drop_test::DropTestFrame::_write_drop_data (   self  )  [private]

Write data from each drop.

Definition at line 235 of file drop_test.py.

def drop_test::DropTestFrame::_write_result (   self,
  msg = '' 
) [private]

Write data from entire drop test in HTML.

Definition at line 246 of file drop_test.py.

def drop_test::DropTestFrame::_write_summary (   self,
  msg = '' 
) [private]

Write summary of drop test.

Definition at line 257 of file drop_test.py.

def drop_test::DropTestFrame::check_drop (   self  ) 

Verify that drop was OK, move to next drop.

Definition at line 280 of file drop_test.py.

def drop_test::DropTestFrame::display_drop_structs (   self  ) 

Display instructions for drop in window.

Definition at line 307 of file drop_test.py.

def drop_test::DropTestFrame::is_ok (   self  ) 

OK if no dropped packets and motors running.

Definition at line 227 of file drop_test.py.

def drop_test::DropTestFrame::is_pass (   self  ) 

Pass if OK and we've completed all drops w/o canceling.

Definition at line 231 of file drop_test.py.

def drop_test::DropTestFrame::on_cancel (   self,
  event 
)

Cancel test, report failure.

Definition at line 162 of file drop_test.py.

def drop_test::DropTestFrame::on_continue (   self,
  event 
)

Proceed to next drop, or pass if done.

Definition at line 147 of file drop_test.py.

def drop_test::DropTestFrame::post_drop_check (   self  ) 

Load post-drop instructions, or pass drop test.

Definition at line 269 of file drop_test.py.

def drop_test::DropTestFrame::send_results (   self,
  test_result 
)

Send results to qualification manager.

Definition at line 184 of file drop_test.py.

def drop_test::DropTestFrame::start_test (   self  ) 

Load pre-drop instructions if any, or proceed.

Definition at line 261 of file drop_test.py.

def drop_test::DropTestFrame::test_error_service_call (   self,
  except_str = '' 
)

Error, send failure data to manager.

Definition at line 174 of file drop_test.py.


Member Data Documentation

Definition at line 118 of file drop_test.py.

Definition at line 142 of file drop_test.py.

Definition at line 121 of file drop_test.py.

Definition at line 137 of file drop_test.py.

Definition at line 138 of file drop_test.py.

Definition at line 101 of file drop_test.py.

Definition at line 107 of file drop_test.py.

Definition at line 106 of file drop_test.py.

Definition at line 116 of file drop_test.py.

Definition at line 104 of file drop_test.py.

Definition at line 97 of file drop_test.py.

Definition at line 111 of file drop_test.py.

Definition at line 112 of file drop_test.py.

Definition at line 140 of file drop_test.py.

Definition at line 132 of file drop_test.py.

Definition at line 125 of file drop_test.py.

Definition at line 129 of file drop_test.py.

Definition at line 128 of file drop_test.py.

Definition at line 127 of file drop_test.py.

Definition at line 102 of file drop_test.py.

Definition at line 130 of file drop_test.py.

Definition at line 133 of file drop_test.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


qualification
Author(s): Kevin Watts (watts@willowgarage.com), Josh Faust (jfaust@willowgarage.com)
autogenerated on Fri Jan 11 09:39:14 2013