-
Notifications
You must be signed in to change notification settings - Fork 986
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
AUTOPILOT_VERSION add to sys_status #96
Comments
@vooon APM has support for this now. I will add PX4 support if required. |
Can't find how they do it in the code. |
APM now sends |
@vooon [ INFO] [1432376904.331698271]: VER: Capabilities 0x00000000000004eb
[ INFO] [1432376904.331779081]: VER: Flight software: 00000000 (j�?#Q6I`j�?#Q6I`)
[ INFO] [1432376904.331814379]: VER: Middleware software: 00000000 (j�?#Q6I`)
[ INFO] [1432376904.331850687]: VER: OS software: 00000000 ( )
[ INFO] [1432376904.331881663]: VER: Board hardware: 00000000
[ INFO] [1432376904.331912500]: VER: VID/PID: 26ac:0011
[ INFO] [1432376904.331939803]: VER: UID: 3432470a31323533 Something must not be right. Can't tell if this is on mavros side or firmware side. |
Its mavros. It should be printing the 8 bytes as hex, not as characters. |
Ok. I'll see what I can do then. Thanks! Update: I think the reason is the APM sending the custom version array[8] as a string, as @vooon stated here: f07ca08#diff-e6ca3412eb7b4e4e7caab100190b2b9eR577 (can be seen here: https://github.com/diydrones/ardupilot/blob/78f02634d00a0962da4a3d15ed56e594cd40022d/libraries/GCS_MAVLink/GCS_Common.cpp#L1263). So code is adapted to APM. @LorenzMeier any reason custom version should be sent as strings? |
New message definitions has AUTOPILOT_VERSION, which can be useful to add to sys_status plugin.
Added by @vooon:
The text was updated successfully, but these errors were encountered: