Namespaces | Functions | Variables
test_non-ros_service_client_fragmented.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_non-ros_service_client_fragmented

Functions

def test_non-ros_service_client_fragmented.request_service
 variables end ##########################################

Variables

tuple test_non-ros_service_client_fragmented.announced = int(result[0]["total"])
string test_non-ros_service_client_fragmented.buffer = ""
int test_non-ros_service_client_fragmented.client_socket_timeout = 6
 variables begin ######################################## these parameters should be changed to match the actual environment #
tuple test_non-ros_service_client_fragmented.data_object = json.loads(buffer)
 test_non-ros_service_client_fragmented.done = False
string test_non-ros_service_client_fragmented.fragment = "{"
tuple test_non-ros_service_client_fragmented.fragment_count = len(result)
 test_non-ros_service_client_fragmented.incoming = None
int test_non-ros_service_client_fragmented.max_msg_length = 2000000
float test_non-ros_service_client_fragmented.receive_message_intervall = 0.0
int test_non-ros_service_client_fragmented.receiving_fragment_size = 1000
 note: receiving more than ~100.000 bytes without setting a fragment_size was not possible during testing.
 test_non-ros_service_client_fragmented.reconstructed = None
int test_non-ros_service_client_fragmented.request_byte_count = 500000
 test_non-ros_service_client_fragmented.result = None
tuple test_non-ros_service_client_fragmented.result_string = buffer.split("}{")
tuple test_non-ros_service_client_fragmented.returned_data = json.loads(reconstructed)
string test_non-ros_service_client_fragmented.rosbridge_ip = "localhost"
int test_non-ros_service_client_fragmented.rosbridge_port = 9090
string test_non-ros_service_client_fragmented.service_name = "send_bytes"
tuple test_non-ros_service_client_fragmented.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 script begin ########################################### should not need to be changed (but could be improved ;) ) #
list test_non-ros_service_client_fragmented.sorted_result = [None]
list test_non-ros_service_client_fragmented.unsorted_result = []


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