Replies: 2 comments 7 replies
-
Additional information: missing_fleet_states_2024-05-28_12-42-33.mp4 |
Beta Was this translation helpful? Give feedback.
-
I don't think the wall timer is at fault. Based on the video I suspect something is blocking up the main event loop for longer than it should. Are you doing anything in particular around the same time that this is happening, for example submitting new task requests? In Other than that, the only thing I can think of that tends to block up a thread is traffic planning and negotiation, but I wouldn't suspect those of being problems because:
Is there anything unusual about the computer you are running this on? Like having very few CPU cores?
Can you link us to where this topic is being published and how it gets triggered? When I try to go to the provided link I get a 404 error. If the publishing is triggered by a wall timer that was with the fleet adapter node but is still being published while the fleet states are not then that would disprove my hypothesis. All the wall timers created by the adapter node will only be triggered within the thread of the main event loop. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm checking with the community if they have experienced not being able to echo
/fleet_states
after some time./door_states
and my custom topic that's published by the fleet adapter periodically are still able to echo.OS: Ubuntu 22.04
rmf branch: 22.09
To troubleshoot this issue, i added some debug logs in FleetUpdateHandle.cpp in the following places as follows:
method: publish_fleet_state_topic
method: update_fleet_state
When
/fleet_states
is not received inros2 topic echo
, I noticed that the log message inpublish_fleet_state_topic
and inupdate_fleet_state
method were not printed. Does it seem that the wall timer here and here failed?However, a custom topic that I published from within this code block can be echoed.
Beta Was this translation helpful? Give feedback.
All reactions