Replies: 2 comments 1 reply
-
|
The state machine in loop() will try micro-ROS re-connection when the communication timeout. We can reset esp32 when re-connection waits too long. I have an option to enable esp32 hardware watchdog in loop() when it hangs. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You may try MOVE the watchdog to agent connected, #ifdef WDT_TIMEOUT |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure if this functionality is built into the microros code, but is there a way to restart the esp32 when it detects that it has lost communication with ROS2?
Beta Was this translation helpful? Give feedback.
All reactions