Closed yottayuan closed 4 years ago
Hi, @yottayuan
My question is : How to start the Agent after the Esp32 board started? Now I must reboot the Esp32 board. But in a production environment, It's not a good idea.
Implementing this feature may require a redesign of ros2arduino, and most of all we should check with Agents and Clients (eProsima's products) to see if this is possible. This seems to require time, and unfortunately, my current tasks make it difficult to get started for the time being.
Hi, @yottayuan
Sorry, my answer is too late... The link below is the code I used to create an example of XELNetwork CommXEL-W (using esp32).
Please apply and test the recreate () function.
This issue has been closed as there weren't recent activities. Please feel free to reopen this thread if there's any opinion to throw. Thanks.
Sorry for my poor English. Now it works well. I still have a question,maybe an enhancement. Now , I must start the Agent first ,then start my Esp32 board. The node in the Esp32 board will connect the Agent. But when the Agent crashes, The board will not reconnect. My question is : How to start the Agent after the Esp32 board started? Now I must reboot the Esp32 board. But in a production environment, It's not a good idea.