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

[Bug] uXRCE client is busy when the agent is close #23261

Open
federicociresola opened this issue Jun 12, 2024 · 0 comments
Open

[Bug] uXRCE client is busy when the agent is close #23261

federicociresola opened this issue Jun 12, 2024 · 0 comments

Comments

@federicociresola
Copy link
Contributor

Describe the bug

I have a QAV250 Hollybro with Pixhawk 6C and Raspberry pi 4B. I noticed that the first time I run the uXRCEAgent
works fine the first time, but when I restart it (close and run again) some time it doesn't work as if the uXRCEClient port is busy or it doesn't close the previous connection.
I checked this, my hypothesis was to try to restart only the raspberry (the board was working with a different power supply), hence I ruled out that there is a program that keeps the serial port busy.

The MicroXRCEClient starts at boot with the following command:

uxrce_dds_client start -t serial -d /dev/ttyS3 -b 921600 -n qav_03

The image below shows the status of MicroXRCEClient after that I killed the MicroXRCEAgent after several minutes
Screenshot from 2024-06-12 11-13-11

To Reproduce

Raspberry side:

  1. MicroXRCEAgent setial --dev /dev/ttyAMA0 -b 921600
  2. Kill it
  3. MicroXRCEAgent setial --dev /dev/ttyAMA0 -b 921600

Expected behavior

the MicroXRCEClient closes the connection every time when there is not communication with MicroXRCEAgent

Screenshot / Media

No response

Flight Log

Software Version

Rapberry pi 4B:

  • OS version: Ubuntu server 22.04
  • microXRCE_dds version: last main

Pixhawk 6C:

  • PX4 version: last main

Flight controller

pixhawk 6C + raspberry PI 4B

Vehicle type

None

How are the different components wired up (including port information)

No response

Additional context

No response

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

No branches or pull requests

1 participant