-
Notifications
You must be signed in to change notification settings - Fork 221
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
drone.info.get_version() INFORMATION_NOT_RECEIVED_YET #689
Comments
Can you share the mavsdk_server log? |
guide me. Arducopter 4.3.0/4.5.0, python 3.10 with Mavsdk-python 2.5.1 is okay. System server version : 3 . 10 Main in -- 2024-05-03 09:45:01.356545 Arducopter 4.3.0/4.5.0, python 3.9 with Mavsdk-python 2.5.1 is Not okay. Main in -- 2024-05-03 09:28:23.339838 Orin NX + Arducopter 4.3.0 + Python 3.9 + Mavsdk-python 2.5.1, still cannot work.$ python3 mavsdk_test_20240403.py $ python3 mavsdk_test_20240403.py ha ha ha, for a weird reason, today 4.5.0 + python 3.9 + mavsdk-python 2.5.1, sometimes works Main in -- 2024-05-03 10:09:10.647421 |
with Arducopter 4.3.0
$ python3 mavsdk_test_debug.py |
with Arducopter 4.5.0
$ python3 mavsdk_test_debug.py |
Thanks for the info. Next time consider putting code output between 3 backticks to make it more readable (```). In any case, I can see one clue:
This is for command 520 which is MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES which is required to display the information. So it basically looks like ArduPilot doesn't answer to this command but instead it might respond to the new command MAV_CMD_REQUEST_MESSAGE. We should probably try to use the new command. We had a similar discussion in mavlink/MAVSDK#1605. I wonder when is a good time to switch over. Maybe the time is now 😄 |
I see. Interestingly, Pi4B with python 3.10, I seem not able to reproduce it with Arducopter 4.3.0 and 4.5.0. Is there anything to do with Mavlink 1 and 2 protocol? |
both mavsdk-python 2.6.2 Python 3.9 Error shown early
Python 3.10 (get_version() okay)
|
Arducopter 4.5.0
Jetson Orin NX, python 3.9
Name: mavsdk
Version: 2.5.1
Summary: Python wrapper for MAVSDK
Home-page: https://github.com/mavlink/MAVSDK-Python
Author:
Author-email:
License: UNKNOWN
Location: /home/orinnx-1of3/.local/lib/python3.9/site-packages
Requires: aiogrpc, grpcio, protobuf
Required-by:
Main in -- 2024-04-26 15:50:14.903863
System server version : 3 . 9
System server done
drone.connect : None
OrinNX Waiting for drone to connect...
-- Connected to drone!
drone.info.get_version error: INFORMATION_NOT_RECEIVED_YET: 'Information Not Received Yet'; origin: get_version(); params: ()
task name: Task-3
print_status_text CancelledError
run result True
Main out -- 2024-04-26 15:50:19.455387
The text was updated successfully, but these errors were encountered: