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 31 of file sr_ronex_test.py.


Member Function Documentation

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

Definition at line 126 of file sr_ronex_test.py.

Definition at line 84 of file sr_ronex_test.py.

Definition at line 96 of file sr_ronex_test.py.

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

Definition at line 137 of file sr_ronex_test.py.

Definition at line 51 of file sr_ronex_test.py.

Definition at line 118 of file sr_ronex_test.py.

Definition at line 122 of file sr_ronex_test.py.

Definition at line 76 of file sr_ronex_test.py.

Definition at line 193 of file sr_ronex_test.py.

Definition at line 154 of file sr_ronex_test.py.

Definition at line 165 of file sr_ronex_test.py.

Definition at line 180 of file sr_ronex_test.py.

Definition at line 176 of file sr_ronex_test.py.

Definition at line 189 of file sr_ronex_test.py.

Definition at line 185 of file sr_ronex_test.py.

TEST START.

Definition at line 148 of file sr_ronex_test.py.

Definition at line 215 of file sr_ronex_test.py.


Member Data Documentation

Definition at line 96 of file sr_ronex_test.py.

Definition at line 51 of file sr_ronex_test.py.

Definition at line 96 of file sr_ronex_test.py.

Definition at line 51 of file sr_ronex_test.py.

Definition at line 51 of file sr_ronex_test.py.

Definition at line 51 of file sr_ronex_test.py.

Definition at line 51 of file sr_ronex_test.py.

Definition at line 96 of file sr_ronex_test.py.

Definition at line 51 of file sr_ronex_test.py.

Definition at line 84 of file sr_ronex_test.py.

Definition at line 96 of file sr_ronex_test.py.

Definition at line 51 of file sr_ronex_test.py.

Definition at line 51 of file sr_ronex_test.py.

Definition at line 96 of file sr_ronex_test.py.

Definition at line 96 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 Thu Jun 6 2019 21:21:53