Closed migsdigs closed 11 months ago
micro-ROS does not handle reconnections to the agent. You need to implement it in your application.
Please read these documents:
Thank you very much for the feedback!
micro-ROS does not handle reconnections to the agent. You need to implement it in your application.
Please read these documents:
Following these got it working very nicely, thank you!
Hi there! I was wondering if I always have to first disconnnect my micro-controller from the host PC before running the micro-ros-agent and then reconnecting the micro-controller to complete a successful 'handshake' between the agent and the micro-controller.
Setup
Steps to reproduce the issue
First scenario: Micro-controller is disconnect from host PC and I run:
This produces:
The micro is then plugged into the host PC via USB, resulting in the agent being set up completely. It creates the client, session, participants, topics, datawriters, publishers...
The program works fine like this.
Second scenario: The micro-controller is already connected to the host PC and I run:
This only results in:
and the setup is not complete.
Is there some way to get around this so that I do not have to disconnect my micro every time I want to start my micro-ros-agent?
Any help is greatly appreciated, thank you.