From 81caa5db708f25d4b0b01223711857e8447db579 Mon Sep 17 00:00:00 2001 From: Norbert Schulz Date: Tue, 22 Oct 2024 11:03:45 +0200 Subject: [PATCH] MicroRos Library: Disable internal connection retries This is now handled on application level by pinging the agent port. --- doc/ROS2/setup/native_build/my_custom_colcon.meta | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/ROS2/setup/native_build/my_custom_colcon.meta b/doc/ROS2/setup/native_build/my_custom_colcon.meta index 97262eda..965a1ce8 100755 --- a/doc/ROS2/setup/native_build/my_custom_colcon.meta +++ b/doc/ROS2/setup/native_build/my_custom_colcon.meta @@ -32,7 +32,9 @@ "-DUCLIENT_PROFILE_TCP=OFF", "-DUCLIENT_PROFILE_DISCOVERY=OFF", "-DUCLIENT_PROFILE_SERIAL=OFF", - "-DUCLIENT_PROFILE_CUSTOM_TRANSPORT=ON" + "-DUCLIENT_PROFILE_CUSTOM_TRANSPORT=ON", + "-DUCLIENT_MAX_SESSION_CONNECTION_ATTEMPTS=1", + "-DUCLIENT_MIN_SESSION_CONNECTION_INTERVAL=250" ] }, "rmw_microxrcedds": {