-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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] MAVLink periodically experiences missing complete data (ARK Jetson PAB with the ARKV6X). #24276
Comments
Hmm it's very regular at 365s. I am able to reproduce this as well. It looks like it stops outputting mavlink for some reason. The MISSION_CURRENT message is still sent because those are being sent out by the _mission_manager which lives inside of the mavlink_receiver thread. All of the "streams" in mavlink_main stop being sent. |
Looks like it fails shortly after the ethernet interface broadcast address is found
But this shouldn't be occuring at all, since the ethernet interface of the MCU is not connected on the ARK Jetson carrier. The failure mode and warnings/errors also only occur when the gimbal is enabled (MNT_MODE_OUT and MNT_MODE_IN), but oddly enough the gimbal driver itself isn't the issue, I can |
This issue occurs when the network is restarted. It also fixes itself sometime later when the network is restarted. Looks like nutx is not catching the missing phy. Still unsure why this only happens with gimbal enabled...
|
Hello @dakejahl , thank you for pointing out Ethernet as a potential cause of the issue! Over the past few days, we conducted several tests related to Ethernet settings. Among them, one effective test was setting MAV_2_CONFIG to disabled (default: Ethernet, but the ARK Jetson PAB pinout does not seem to have it?). After making this change, the issue of periodic incomplete MAVLink data did not occur again (tested twice over a 1-hour period). I'm not entirely sure if this setting is directly related to the issue. Could you provide any insights on this? The parameter settings are attached for your reference. Thanks again for your help! |
When there is no PHY the register reads return all high, since the line is pulled up internally. We probably should check that the PHYID is non-zero and/or that the status register is not 0xffff |
I submitted a nuttx PR which fixes this issue |
Describe the bug
When integrating the ARK Jetson PAB, ARKV6X, and Gremsy Zio, We observed periodic loss of complete MAVLink data under the following condition:
![Image](https://private-user-images.githubusercontent.com/94955575/408128080-489d544f-94cb-4c0f-8029-2c29fc0a8312.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTc1MjcsIm5iZiI6MTczOTYxNzIyNywicGF0aCI6Ii85NDk1NTU3NS80MDgxMjgwODAtNDg5ZDU0NGYtOTRjYi00YzBmLTgwMjktMmMyOWZjMGE4MzEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDExMDAyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA2ZTllNzIxZmM2MWNlNTZlZGU0YzBkYmViNDU1NWZiNTE2MjU4MGFjMTYwNjAyYTVmM2I1YzE1ZWIyNTI4MDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.A4eg_npKkvo8InfpqCusOQ4_TwZqXZ7DWTlg4Yro44M)
To Reproduce
To simplify the issue, it can be consistently reproduced by powering on the system with the provided parameters.
(No peripherals are connected; only the onboard computer and the flight controller are linked.)
BugParams.params.txt
Expected behavior
We expected to control the gimbal using RC while ensuring that MAVLink data is not lost periodically.
Screenshot / Media
MAVLink periodically has no data Video
Flight Log
PX4 Flight Review
Software Version
1.15.0
Flight controller
ARK Jetson PAB with the ARKV6X
Vehicle type
Multicopter
How are the different components wired up (including port information)
Additional context
If the gimbal is installed (and successfully initialized) or if NMT_MODE_IN is set to -1, the issue does not occur.
It can be reproduced on two different ARK Jetson PAB with the ARKV6X boards.
The issue occurs in both 1.15.0 and 1.16 tests.
Current Log Collection Method:
![Image](https://private-user-images.githubusercontent.com/94955575/408157791-fb86f3da-ffeb-44bb-9e5b-c4dc40d194d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTc1MjcsIm5iZiI6MTczOTYxNzIyNywicGF0aCI6Ii85NDk1NTU3NS80MDgxNTc3OTEtZmI4NmYzZGEtZmZlYi00NGJiLTllNWItYzRkYzQwZDE5NGQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDExMDAyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMyNjBkZGI2Y2Y5MjY0M2JlODhmNzY1YTE5MzU1M2VlYTJiNTUwNDA1YzZhZDBjMTkyY2JiNjYyODFlNGRiYjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HhK1Stkx7KRLRzOdVE80uBjcsCGLhVYxIIc8yZECLWo)
Please let us know if you need any additional data to help diagnose the issue. We would also appreciate any insights or discussions on potential causes of this issue.
The text was updated successfully, but these errors were encountered: