-
Notifications
You must be signed in to change notification settings - Fork 2.5k
wrong MAVLink version error #1356
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
Comments
can you post the rlog for that connection? |
and perhaps it would be better not to stop downloading the log on error but continue to download. Now downloading logs on through MAVlink via USB works disgusting (more than 20 tries and ~1 hour of my time), and not work at all by the radio - timeouts . But to get to the USB I had to disassemble the copter :( |
did you download this log over usb? there is a massive amount of corruption in the rlog you sent. |
also is this a custom firmware? with custom mavlink messages? |
yes this is via USB (because via radio it not works at all), firmware can be seen on screenshot - Arducopter 3.4-rc3 uploaded via MP itself from official site |
Sorry this was a last RLOG in folder, tomorrow I'll try again. Baudrate is 57600, board is PixhawkLite from Aliexpress. |
if you are connecting via usb, change it to the highest baud |
was this log downloaded via usb? I still don't know why you are getting packet corruption over a hard wire link. this should not happen. which makes me think this is a hardware issue. |
Do you read my words? Downloading via radio DON'T WORKS AT ALL with timeout, downloading via USB - errors about MAVlink version.
Yes the best way to not fix errors is to declare them as hardware problems :) PS. Inability to download logs via radio is a hardware problems, too? ;) |
I still stand by this is a hardware issue.
your board is failing at step 2. mission planner never received the log packet from the autopilot, or it starts, then stops responding. as for radio, this is most likely because rts/cts is not enable on the pixhawk side, and the buffer is flooding, causing corrupt packets. PS all this is just guessing, that and the Mission Planner user base are not having the same problems. it could be |
@qmayberry please try formatting the sd card, I would guess there is corruption on the sd card, causing the pixhawk to hang. |
It's not a pixhawk, but an APM 2.6! I haven't used a pixhawk yet, it is my next project. |
@qmayberry I don't have an answer then, basically the autopilot is not responding to the request, I assume this hardware has worked in the past? you may need to wipe the dataflash. losing the log. |
Ok, I will see if I can find an earlier mission planner on one of our machines that used to work, just to make sure it is a hardware issue before losing the log. Seems a bit coincidental that it was fine before the upgrade and now doesn't work when nothing else changed other than the mission planner! |
@qmayberry please do test, I'm happy to be proven wrong. |
It's not a case of proving someone wrong, it's just a case of trying to save a log file before wiping it out! I got a no log list message on 1.3.35. However, I was able to download the logs via the terminal logs, dump function. in 1.3.40. How do I format the card of the APM 2.6 without having to take it all apart? Does log erase do the same task? |
@qmayberry atleast the terminal worked, I would watch for log corruption in the log you downloaded. |
@night-ghost could you please try the latest MP 1.3.40. just wondering if its still an issue. |
@qmayberry just do a log erase |
Of course, it's much easier than to fix bugs and remade a bad solutions! You see, this bugreport was not about log downloads but about incorrect diagnosis "old MAVLink version", and I was immediately offered a solution - say a message about the wrong version of the protocol only for the first HEARTBEAT packet, and after receiving the correct packet any failure of HEARTBEAT to consider as glitch and skip without interrupting the download. In ArduCam, team also proved the impossibility of further expansion of the firmware capabilities, referring to hardware limitations, however see what this OSD can do now :) And amount of bugs that I fixed in CT...
Yes but EVERYTHING works fine - parameters status etc - all except logs. This is likely to be due to a wrong logic somewhere in MP or in Ardupilot itself.
The question - but how many modems you have seen with rts/cts support? The reality is that the vast majority of modems are working only via RX/TX so that this reality is necessary to consider the software and prevent buffer overflows manually.
...from which logs was successfully loaded via adapter?
all 4 available?
all 2 available?
in Linux?
Really? then you forgot to mention interference from aliens not otherwise :) |
At the evening |
@night-ghost Thanks. to get the false positive 3 items had to be met the change above removed this code. |
a small note about false-positives: UAVtalk stream at 57600 treated as 1-2 valid MAVlink packets per second with correct CRC! Of cause with garbage inside... |
I did try it on 1.3.40 as stated above, but it didn't work either. Anyway files dumped and I'll see what happens after the next flight. Thanks for the assistance :) |
Well certainly something fishy going on with the apm. It works OK, but is now just showing garbage when connecting via the terminal over wireless. I tried our other apm 2.6 which was fine and downloaded it's log without issue. I will take the suspect one apart when I am back from hols to get access to the sd card and will reformat that then look at it again. |
@qmayberry, i haven't really read the discussion above properly but I think the garbage you're seeing is mavlink messages. If you're using a pixhawk you should be able to download the logs via mavlink. Instructions are here: http://ardupilot.org/copter/docs/common-downloading-and-analyzing-data-logs-in-mission-planner.html I could be off base.. but perhaps this is what you're looking for. |
Thanks Randy, yes a bit off base unfortunately! I agree the garbage looks like mavlink messages and probably is, but what was strange is even disconnecting the apm 2.6, and rebooting it, still gets garbage that it wasn't doing before. I changed to another apm 2.6 and it worked fine, so something is up with this one that needs investigating further in due course. I have a 3DR pixhawk bought a few weeks ago just before it was discontinued apparently, so that will be the next machine. |
Just tested version 1.3.40. Downloading logs via USB now works fine, downloading via radio still fails with timeout. |
this message can only be displayed only if no heartbeat packets have been received, but not in the middle of the session.
The text was updated successfully, but these errors were encountered: