Functions | Variables
test_non-ros_service_server_complex-srv Namespace Reference

Functions

def advertise_service
def calculate_service_response
 variables end ##########################################
def connect_tcp_socket
def list_of_fragments
def send_service_response
def unadvertise_service
def wait_for_service_request

Variables

string buffer = ""
 service_calculation end ################################
 data = None
tuple fragment_list = list_of_fragments(response, send_fragment_size)
int max_msg_length = 20000
int receive_fragment_size = 10
float receive_message_intervall = 0.0
tuple response = calculate_service_response(data)
string rosbridge_ip = "localhost"
int rosbridge_port = 9090
float send_fragment_delay = 0.000
int send_fragment_size = 1000
string service_module = "rosbridge_library"
string service_name = "nested_srv"
string service_type = "TestNestedService"
tuple tcp_socket = connect_tcp_socket()
 helper functions end ###################################
int tcp_socket_timeout = 10
 variables begin ######################################## these parameters should be changed to match the actual environment #

Function Documentation

def test_non-ros_service_server_complex-srv.advertise_service ( )

Definition at line 86 of file test_non-ros_service_server_complex-srv.py.

def test_non-ros_service_server_complex-srv.calculate_service_response (   request)

variables end ##########################################

service_calculation begin ############################## change this function to match whatever service should be provided #

Definition at line 42 of file test_non-ros_service_server_complex-srv.py.

def test_non-ros_service_server_complex-srv.connect_tcp_socket ( )

Definition at line 80 of file test_non-ros_service_server_complex-srv.py.

def test_non-ros_service_server_complex-srv.list_of_fragments (   full_message,
  fragment_size 
)

Definition at line 175 of file test_non-ros_service_server_complex-srv.py.

def test_non-ros_service_server_complex-srv.send_service_response (   response)

Definition at line 172 of file test_non-ros_service_server_complex-srv.py.

def test_non-ros_service_server_complex-srv.unadvertise_service ( )

Definition at line 97 of file test_non-ros_service_server_complex-srv.py.

def test_non-ros_service_server_complex-srv.wait_for_service_request ( )

Definition at line 104 of file test_non-ros_service_server_complex-srv.py.


Variable Documentation

string test_non-ros_service_server_complex-srv::buffer = ""

service_calculation end ################################

helper functions / and variables begin ################# should not need to be changed (but could be improved ) #

Definition at line 78 of file test_non-ros_service_server_complex-srv.py.

tuple test_non-ros_service_server_complex-srv::data = None

Definition at line 218 of file test_non-ros_service_server_complex-srv.py.

tuple test_non-ros_service_server_complex-srv::fragment_list = list_of_fragments(response, send_fragment_size)

Definition at line 227 of file test_non-ros_service_server_complex-srv.py.

int test_non-ros_service_server_complex-srv::max_msg_length = 20000

Definition at line 20 of file test_non-ros_service_server_complex-srv.py.

int test_non-ros_service_server_complex-srv::receive_fragment_size = 10

Definition at line 32 of file test_non-ros_service_server_complex-srv.py.

float test_non-ros_service_server_complex-srv::receive_message_intervall = 0.0

Definition at line 33 of file test_non-ros_service_server_complex-srv.py.

tuple test_non-ros_service_server_complex-srv::response = calculate_service_response(data)

Definition at line 224 of file test_non-ros_service_server_complex-srv.py.

string test_non-ros_service_server_complex-srv::rosbridge_ip = "localhost"

Definition at line 22 of file test_non-ros_service_server_complex-srv.py.

int test_non-ros_service_server_complex-srv::rosbridge_port = 9090

Definition at line 23 of file test_non-ros_service_server_complex-srv.py.

float test_non-ros_service_server_complex-srv::send_fragment_delay = 0.000

Definition at line 31 of file test_non-ros_service_server_complex-srv.py.

int test_non-ros_service_server_complex-srv::send_fragment_size = 1000

Definition at line 29 of file test_non-ros_service_server_complex-srv.py.

string test_non-ros_service_server_complex-srv::service_module = "rosbridge_library"

Definition at line 25 of file test_non-ros_service_server_complex-srv.py.

string test_non-ros_service_server_complex-srv::service_name = "nested_srv"

Definition at line 27 of file test_non-ros_service_server_complex-srv.py.

string test_non-ros_service_server_complex-srv::service_type = "TestNestedService"

Definition at line 26 of file test_non-ros_service_server_complex-srv.py.

tuple test_non-ros_service_server_complex-srv::tcp_socket = connect_tcp_socket()

helper functions end ###################################

script begin ########################################### should not need to be changed (but could be improved ) #

Definition at line 212 of file test_non-ros_service_server_complex-srv.py.

int test_non-ros_service_server_complex-srv::tcp_socket_timeout = 10

variables begin ######################################## these parameters should be changed to match the actual environment #

Definition at line 19 of file test_non-ros_service_server_complex-srv.py.



rosbridge_library
Author(s): Jonathan Mace
autogenerated on Mon Oct 6 2014 06:58:09