ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Retry client entities creation

asked 2022-11-28 00:56:19 -0600

updated 2022-11-29 12:15:18 -0600

gvdhoorn gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-11-28 07:53:22 -0600

Pablogs gravatar image

Please open a GitHub issue in the repo you are using in order to allow us to track this.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-11-28 00:56:19 -0600

Seen: 94 times

Last updated: Nov 29 '22