Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent stops relaying service response messages to DDS #199

Open
rosterloh opened this issue Jul 6, 2023 · 1 comment
Open

Agent stops relaying service response messages to DDS #199

rosterloh opened this issue Jul 6, 2023 · 1 comment
Assignees

Comments

@rosterloh
Copy link

After some amount of time the Agent can get itself into a state where it provides services, allows them to be called, forwards the messages onto to downstream micro but does not bridge the response back to the DDS

To Reproduce
Steps to reproduce the behaviour:

  1. Run agent ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyACM0 -v6
  2. Connect an MCU which provides a service
  3. Run a node on the device which hosts the agent which calls the service in a tight loop
  4. You will continue to see [==>> SER <<==] messages in the agent and logs in the MCU that the service call has been requested but no more [** <> **] agent messages
  5. ros2 cli service calls will also hang from this point onwards
  6. Restarting the agent gets everything back to normal

Expected behaviour
Agent should always bridge mcu to DDS and never need restarting

System information (please complete the following information):

  • OS: Debian 11
  • ROS 2 Humble and Iron
  • Version 4.0.3 on iron branch
@Acuadros95 Acuadros95 self-assigned this Jul 6, 2023
@Acuadros95
Copy link
Contributor

Could not replicate this on our side, some questions:

  • Does this happen if the MCU only implements a service?
  • At which rate is the service being called?
  • Any other task going on the MCU side that could affect the executor/service callback?
  • I guess the service is reliable, does this happen on best effort communication?

You will continue to see [==>> SER <<==] messages in the agent and logs in the MCU that the service call has been requested but no more [** <> **] agent messages

Could you share the Agent log from just before this happens?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants