Public Member Functions | Public Attributes
sr_ronex_test.TestRonexWithHardware Class Reference

List of all members.

Public Member Functions

def digital_test_case
def find_ronexes
def init_clients_publishers_subscribers
def set_ronex_io_state
def setUp
def state_callback_0
def state_callback_1
def tearDown
def test_analogue
def test_change_state_one
def test_change_state_two
def test_digital_all_false
def test_digital_all_true
def test_digital_even_true
def test_digital_odd_true
def test_if_controllers_are_loaded
 TEST START.
def test_pwm_outputs

Public Attributes

 clients
 controllers_list
 digital_publishers
 expected_analogue_values_a
 expected_analogue_values_b
 params_i
 params_o
 pwm_publishers
 result
 ronex_devs
 ronex_ids
 state
 state_lock
 subscriber_0
 subscriber_1

Detailed Description

A class used to test the Shadow Robot ethercat board HW.

For the test to succeed 2 ronex modules are required
each with a stacker on it
The digital I/O of one module should be connected to the I/O of the other
The analogue I/O of one of the modules should be connected to a constant voltage source

On each module
12 digital inputs/outputs
6 PWM outputs
12 analogue inputs

The digital inputs will read back the value we set for the outputs.
Then all the I/O should switch roles from Input to Output and vice versa
The PWM outputs are set to a frequency of 0.5Hz, and the digital inputs used to check the on-off period
Six of the analogue inputs should be wired to an appropriate constant voltage source

Definition at line 28 of file sr_ronex_test.py.


Member Function Documentation

def sr_ronex_test.TestRonexWithHardware.digital_test_case (   self,
  outr,
  inr,
  message 
)

Definition at line 122 of file sr_ronex_test.py.

Definition at line 81 of file sr_ronex_test.py.

Definition at line 93 of file sr_ronex_test.py.

def sr_ronex_test.TestRonexWithHardware.set_ronex_io_state (   self,
  outr,
  inr 
)

Definition at line 133 of file sr_ronex_test.py.

Definition at line 48 of file sr_ronex_test.py.

Definition at line 114 of file sr_ronex_test.py.

Definition at line 118 of file sr_ronex_test.py.

Definition at line 73 of file sr_ronex_test.py.

Definition at line 191 of file sr_ronex_test.py.

Definition at line 152 of file sr_ronex_test.py.

Definition at line 163 of file sr_ronex_test.py.

Definition at line 178 of file sr_ronex_test.py.

Definition at line 174 of file sr_ronex_test.py.

Definition at line 187 of file sr_ronex_test.py.

Definition at line 183 of file sr_ronex_test.py.

TEST START.

Definition at line 146 of file sr_ronex_test.py.

Definition at line 213 of file sr_ronex_test.py.


Member Data Documentation

Definition at line 93 of file sr_ronex_test.py.

Definition at line 48 of file sr_ronex_test.py.

Definition at line 93 of file sr_ronex_test.py.

Definition at line 48 of file sr_ronex_test.py.

Definition at line 48 of file sr_ronex_test.py.

Definition at line 48 of file sr_ronex_test.py.

Definition at line 48 of file sr_ronex_test.py.

Definition at line 93 of file sr_ronex_test.py.

Definition at line 48 of file sr_ronex_test.py.

Definition at line 81 of file sr_ronex_test.py.

Definition at line 93 of file sr_ronex_test.py.

Definition at line 48 of file sr_ronex_test.py.

Definition at line 48 of file sr_ronex_test.py.

Definition at line 93 of file sr_ronex_test.py.

Definition at line 93 of file sr_ronex_test.py.


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


sr_ronex_test
Author(s): Manos Nikolaidis
autogenerated on Fri Aug 28 2015 13:12:32