Main Page
Namespaces
Classes
Files
File List
test
experimental
fragmentation+srv+tcp
Namespaces
|
Functions
|
Variables
test_non-ros_service_client_fragmented.py File Reference
Go to the source code of this file.
Namespaces
test_non-ros_service_client_fragmented
Functions
def
test_non-ros_service_client_fragmented.request_service
()
variables end ##########################################
More...
Variables
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 #
More...
test_non-ros_service_client_fragmented.data_object
= json.loads(buffer)
bool
test_non-ros_service_client_fragmented.done
= False
string
test_non-ros_service_client_fragmented.fragment
= "{"
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.
More...
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
test_non-ros_service_client_fragmented.result_string
= buffer.split("}{")
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"
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 ;) ) #
More...
list
test_non-ros_service_client_fragmented.sorted_result
= [None]*fragment_count
list
test_non-ros_service_client_fragmented.unsorted_result
= []
rosbridge_library
Author(s): Jonathan Mace
autogenerated on Fri May 10 2019 02:17:02