Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
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.


Constructor & Destructor Documentation

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

Definition at line 94 of file drop_test.py.


Member Function Documentation

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.

Verify that drop was OK, move to next drop.

Definition at line 280 of file drop_test.py.

Display instructions for drop in window.

Definition at line 307 of file drop_test.py.

OK if no dropped packets and motors running.

Definition at line 227 of file drop_test.py.

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.

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.

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 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.

Definition at line 94 of file drop_test.py.


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


qualification
Author(s): Kevin Watts (watts@willowgarage.com), Josh Faust (jfaust@willowgarage.com)
autogenerated on Sat Dec 28 2013 17:57:34