Functions | Variables
test_non-ros_service_client_complex-srv Namespace Reference

Functions

def request_service
 variables end ##########################################

Variables

tuple announced = int(result[0]["total"])
string buffer = ""
int client_socket_timeout = 6
 variables begin ######################################## these parameters should be changed to match the actual environment #
tuple data_object = json.loads(buffer)
 done = False
string fragment = "{"
tuple fragment_count = len(result)
 incoming = None
int max_msg_length = 2000000
float receive_message_intervall = 0.0
int receiving_fragment_size = 1000
 reconstructed = None
 result = None
tuple result_string = buffer.split("}{")
tuple returned_data = json.loads(reconstructed)
string rosbridge_ip = "localhost"
int rosbridge_port = 9090
string service_name = "nested_srv"
tuple sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 script begin ########################################### should not need to be changed (but could be improved ;) ) #
list sorted_result = [None]
list unsorted_result = []

Function Documentation

def test_non-ros_service_client_complex-srv.request_service ( )

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

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


Variable Documentation

tuple test_non-ros_service_client_complex-srv::announced = int(result[0]["total"])

Definition at line 96 of file test_non-ros_service_client_complex-srv.py.

test_non-ros_service_client_complex-srv::buffer = ""

Definition at line 53 of file test_non-ros_service_client_complex-srv.py.

int test_non-ros_service_client_complex-srv::client_socket_timeout = 6

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

Definition at line 11 of file test_non-ros_service_client_complex-srv.py.

tuple test_non-ros_service_client_complex-srv::data_object = json.loads(buffer)

Definition at line 70 of file test_non-ros_service_client_complex-srv.py.

test_non-ros_service_client_complex-srv::done = False

Definition at line 54 of file test_non-ros_service_client_complex-srv.py.

string test_non-ros_service_client_complex-srv::fragment = "{"

Definition at line 84 of file test_non-ros_service_client_complex-srv.py.

tuple test_non-ros_service_client_complex-srv::fragment_count = len(result)

Definition at line 94 of file test_non-ros_service_client_complex-srv.py.

tuple test_non-ros_service_client_complex-srv::incoming = None

Definition at line 52 of file test_non-ros_service_client_complex-srv.py.

int test_non-ros_service_client_complex-srv::max_msg_length = 2000000

Definition at line 12 of file test_non-ros_service_client_complex-srv.py.

float test_non-ros_service_client_complex-srv::receive_message_intervall = 0.0

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

int test_non-ros_service_client_complex-srv::receiving_fragment_size = 1000

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

list test_non-ros_service_client_complex-srv::reconstructed = None

Definition at line 56 of file test_non-ros_service_client_complex-srv.py.

list test_non-ros_service_client_complex-srv::result = None

Definition at line 55 of file test_non-ros_service_client_complex-srv.py.

tuple test_non-ros_service_client_complex-srv::result_string = buffer.split("}{")

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

tuple test_non-ros_service_client_complex-srv::returned_data = json.loads(reconstructed)

Definition at line 116 of file test_non-ros_service_client_complex-srv.py.

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

Definition at line 14 of file test_non-ros_service_client_complex-srv.py.

int test_non-ros_service_client_complex-srv::rosbridge_port = 9090

Definition at line 15 of file test_non-ros_service_client_complex-srv.py.

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

Definition at line 17 of file test_non-ros_service_client_complex-srv.py.

tuple test_non-ros_service_client_complex-srv::sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

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

Definition at line 46 of file test_non-ros_service_client_complex-srv.py.

list test_non-ros_service_client_complex-srv::sorted_result = [None]

Definition at line 99 of file test_non-ros_service_client_complex-srv.py.

list test_non-ros_service_client_complex-srv::unsorted_result = []

Definition at line 100 of file test_non-ros_service_client_complex-srv.py.



rosbridge_library
Author(s): Jonathan Mace
autogenerated on Thu Aug 27 2015 14:50:35