Retry client entities creation
Hi, We have an issue that during the micro-ros agent and client connection some of the entities (pub/sub) are not created, therefore part of the micro-ros messages (pub/sub) are not available (dead). We would like to have a way to react this situation and execute an entity creation retry. Is there a way to do that? We read about the HARD_LIVELINESS_CHECK and added this to our micro-ros Arduino as described here https://discourse.ros.org/t/our-concl... this change gives us more LOG information, but the entities creation not improved. When we tried to create the entities in "blocking" mode as described below
Under microxrcedds_client change the following values:
- "-DUCLIENT_MAX_SESSION_CONNECTION_ATTEMPTS=3",
- "-DUCLIENT_MIN_SESSION_CONNECTION_INTERVAL=100"
Under rmw_microxrcedds
- Replace: "-DRMW_UXRCE_ENTITY_CREATION_DESTROY_TIMEOUT=0",
- With: "-DRMW_UXRCE_ENTITY_CREATION_TIMEOUT=1000", "-DRMW_UXRCE_ENTITY_DESTROY_TIMEOUT=1000",
This mode solved the issue, but using this mode force us to stop the other tasks which we don't want. Do you have any other way of partially "blocking" that we can get the entities creation status without blocking the other tasks? Thanks