You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have not tried that yet. So I want the client to start the context only when it detects that an agent has started or has become alive again. This ping function works when I first start the Agent and then my client with all the initializations and running the executor. but if I try pinging the agent before creating anything as I have written in the code it does not work
Probable dealing with an agent pinging on a non-initialized session can be weird due to the fact that it will try to open/close sockets...In your example, does the board send any UDP packet to multicast or to the agent IP address?
hey @pablogs9 I just checked it and the board does not send any kind of UDP packet to the agents IP address. It only sends a packet when a micro ros session is on.
Activity
pablogs9 commentedon Aug 10, 2023
Hello @apurva-peppermint please provide code for replicating this.
apurva-peppermint commentedon Aug 10, 2023
Hey @pablogs9 I'm using this code for the agent liveliness testing...
pablogs9 commentedon Aug 10, 2023
Please paste here the output of the micro-ROS Agent using the flag
-v6to increase verbosity.apurva-peppermint commentedon Aug 10, 2023
pablogs9 commentedon Aug 10, 2023
If you use a normal micro-ROS example (publisher for example), does it works?
apurva-peppermint commentedon Aug 10, 2023
I have not tried that yet. So I want the client to start the context only when it detects that an agent has started or has become alive again. This ping function works when I first start the Agent and then my client with all the initializations and running the executor. but if I try pinging the agent before creating anything as I have written in the code it does not work
pablogs9 commentedon Aug 10, 2023
Probable dealing with an agent pinging on a non-initialized session can be weird due to the fact that it will try to open/close sockets...In your example, does the board send any UDP packet to multicast or to the agent IP address?
apurva-peppermint commentedon Aug 10, 2023
I will check and let you know here
apurva-peppermint commentedon Aug 10, 2023
hey @pablogs9 I just checked it and the board does not send any kind of UDP packet to the agents IP address. It only sends a packet when a micro ros session is on.