Closed JiangengDong closed 1 year ago
Which version of the micro-ROS Agent are you using?
I have tested it with micro-ROS Agent Docker for Humble version and this works as expected. Can you update your micro-ROS agent to the latest version?
I have tested it with micro-ROS Agent Docker for Humble version and this works as expected. Can you update your micro-ROS agent to the latest version?
We will test with Humble and get back, might take a little while because we are in the process of upgrading the ROS2 side to Humble as well, which I assume would be a requirement for having micro-ROS on Humble.
The problem disappears after upgrading to the Humble version. Thanks for your kindly help!
Description
It seems the
rmw_uros_ping_agent
always returnsRMW_RET_ERROR
after therclc_support_init
is called.(Please correct me if this is not the right place for this issue)
Steps to reproduce the issue
Two tests were tried to reproduce the problem. The agent was kept alive during the test.
rclc_support_t
, and then check the agent's availability again with ping.Expected behavior
AGENT_CONNECTED
state.loop 0|1|2|...
.Actual behavior
The firmware keeps connecting to and disconnecting from the agent repeatedly.
The log from the first test (official demo)
The log from the second test (my custom test)
Additional information
Test program
The program I used for the test is as follows.
Agent log
The agent verbose level is set to 4, and the INFO level agent log is as follows.