Closed AlexKlimaj closed 7 months ago
Thanks @AlexKlimaj for spotting this. I cannot test it myself right now.
Could you determine if this issue is restricted to px4_fmu-v6x
targets with serial communication or if it also affects other targets and udp communication?
It looks like I needed to revert these two commits and use @dagar DDS rework branch.
This PR https://github.com/PX4/PX4-Autopilot/pull/22534
With these reverted. @davids5 https://github.com/PX4/NuttX/commit/ed4814f6239097dde5eecf2b4fbd58661db84dda https://github.com/PX4/NuttX/commit/3dc3cf522758d70ca2a07c156e5e02517650327d
The driver should be looked at for how it uses the serial port. Before opening in non-blocking mode would block. Now that the driver is fixed it does not.
It does look like its opening it in non-blocking mode.
It may be that the baud rate is too low. Try increasing it.
It may be that the baud rate is too low. Try increasing it.
Not the issue. Running at 3Mbps.
Describe the bug
It appears that there is a bug in main on the uxrce_dds_client where it will disconnect after only running for a few minutes. I'm not sure if this is related to the recent NUTTX DMA issues.
Once it disconnects from the flight controller side, restarting the agent or the client doesn't work. Only restarting the flight controller reconnects.
When running release/1.14, it appears to be working and not disconnecting.
To Reproduce
Run the uxrce_dds_client on main and it disconnects after a few minutes.
Expected behavior
uxrce_dds_client stays connected.
Status and top when working correctly.
A few minutes later after this, it disconnected.
Screenshot / Media
No response
Flight Log
NA
Software Version
main
Flight controller
ARKV6X
Vehicle type
None
How are the different components wired up (including port information)
No response
Additional context
No response