Open shuguangzhao01 opened 1 year ago
[DEBUG] [1691565196.788552692] [rcl]: Client sending service request
[INFO] [1691565196.790921418] [UdfInferenceService]: [0688780a-a38a-483d-884d-828d82d8b0c7] call async_send_request finish.......
[DEBUG] [1691565196.790949868] [rcl]: Initializing wait set with '0' subscriptions, '2' guard conditions, '0' timers, '0' clients, '0' services
[DEBUG] [1691565198.936368542] [rcl]: Client taking service response
[DEBUG] [1691565198.927586977] [rcl]: Service server taking service request
[DEBUG] [1691565198.932197639] [rcl]: Service take request succeeded: true
[INFO] [1691565198.932249026] [udf_server]: [0688780a-a38a-483d-884d-828d82d8b0c7] receive a image
[INFO] [1691565198.935974553] [udf_server]: [0688780a-a38a-483d-884d-828d82d8b0c7] ****img.width=1920,img.hight=1080,img.channel=3
[DEBUG] [1691565198.936002508] [rcl]: Sending service response
according to the above timestamp information, it seems that 2-3 sec delay is in the process under RMW implementation.
i have a couple of questions,
@fujitatomoya Thanks very much for reply
@MiguelCompany @EduPonz Any chance you could take a look here? Thanks.
Bug report
Required Info:
Steps to reproduce issue
[DEBUG] [1691565196.768640293] [rcl]: Sending service response [DEBUG] [1691565196.778010718] [rcl]: Service server taking service request [DEBUG] [1691565196.779105101] [rcl]: Service take request succeeded: true [INFO] [1691565196.779123537] [udf_server]: [6d415829-163b-4159-bb30-4094311212a7] receive a image [INFO] [1691565196.782993242] [udf_server]: [6d415829-163b-4159-bb30-4094311212a7] img.width=1920,img.hight=1080,img.channel=3 [DEBUG] [1691565196.783044742] [rcl]: Sending service response [DEBUG] [1691565198.927586977] [rcl]: Service server taking service request [DEBUG] [1691565198.932197639] [rcl]: Service take request succeeded: true [INFO] [1691565198.932249026] [udf_server]: [0688780a-a38a-483d-884d-828d82d8b0c7] receive a image [INFO] [1691565198.935974553] [udf_server]: [0688780a-a38a-483d-884d-828d82d8b0c7] img.width=1920,img.hight=1080,img.channel=3 [DEBUG] [1691565198.936002508] [rcl]: Sending service response [DEBUG] [1691565201.926497360] [rcl]: Service server taking service request [DEBUG] [1691565201.927646480] [rcl]: Service take request succeeded: true [INFO] [1691565201.927663745] [udf_server]: [262277d5-d7ed-467a-bdf8-960b9c10ff5c] receive a image [INFO] [1691565201.931548321] [udf_server]: [262277d5-d7ed-467a-bdf8-960b9c10ff5c] img.width=1920,img.hight=1080,img.channel=3 [DEBUG] [1691565201.931582847] [rcl]: Sending service response [DEBUG] [1691565201.947481547] [rcl]: Service server taking service request [DEBUG] [1691565201.948585700] [rcl]: Service take request succeeded: true [INFO] [1691565201.948601542] [udf_server]: [903f83cb-1c7f-42c9-a98f-eb4726898ab6] receive a image [INFO] [1691565201.952043025] [udf_server]: [903f83cb-1c7f-42c9-a98f-eb4726898ab6] img.width=1920,img.hight=1080,img.channel=3 [DEBUG] [1691565201.952080348] [rcl]: Sending service response [DEBUG] [1691565201.958807461] [rcl]: Service server taking service request [DEBUG] [1691565201.959840853] [rcl]: Service take request succeeded: true [INFO] [1691565201.959858131] [udf_server]: [48c850c9-3125-4272-be22-2576a461c771] receive a image [INFO] [1691565201.963241185] [udf_server]: [48c850c9-3125-4272-be22-2576a461c771] ****img.width=1920,img.hight=1080,img.channel=3 [DEBUG] [1691565201.963260722] [rcl]: Sending service response
Expected behavior
The client uses OpenCV to read the 1920*1080 video transmission image, and the server receives the image with low latency.
Actual behavior
At first, the image transmission delay is about 15-20 milliseconds, and after about a few minutes, the receiving delay image delay becomes larger, about 1-3 seconds, as the log above shows